Brian gun/issue315 fix beam energy calculation

beamenergy was computing the wrong value because it was dividing by the area of the pupil rather than the area of the lenslet. This is now fixed.

Codecov Report

Merging #316 (bc1431b) into main (15bb16d) will increase coverage by 0.09%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #316      +/-   ##
==========================================
+ Coverage   54.55%   54.65%   +0.09%
==========================================
  Files          78       78
  Lines        7396     7068     -328
==========================================
- Hits         4035     3863     -172
+ Misses       3361     3205     -156

Impacted Files
Coverage Δ

src/Optical/ParaxialAnalysis/LensletAssembly.jl
60.00% <100.00%> (+3.58%)
:arrow_up:

src/RepeatingStructures/Lattice.jl
76.92% <0.00%> (-4.33%)
:arrow_down:

src/RepeatingStructures/HexagonalLattice.jl
47.14% <0.00%> (-3.51%)
:arrow_down:

src/Optical/OpticalInterface.jl
64.28% <0.00%> (-2.39%)
:arrow_down:

src/Geometry/Primitives/Curves/BSpline.jl
66.15% <0.00%> (-2.13%)
:arrow_down:

src/Optical/Paraxial.jl
69.56% <0.00%> (-2.06%)
:arrow_down:

src/Geometry/Primitives/Curves/Bezier.jl
54.87% <0.00%> (-1.72%)
:arrow_down:

src/utilities.jl
73.33% <0.00%> (-1.67%)
:arrow_down:

src/Geometry/Transform.jl
52.73% <0.00%> (-1.57%)
:arrow_down:

src/OpticSim.jl
87.50% <0.00%> (-1.39%)
:arrow_down:

... and 52 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 15bb16d...bc1431b. Read the comment docs.


Fix getFieldState subscription

Noticed the errors wont go away with default revalidateMode "onChange". Found the error to be in the FormField component as it won't subscribe without the formState. Fixed the examples in markdown but could you update the Stackblitz examples as I have no access to them.
Documented here in the docs of rhf:
https://react-hook-form.com/api/useform/getfieldstate#rules
Thanks for this awesome writeup! Cheers.

Ok that seems like a super weird behaviour, I kinda get it bc RHF does proxy stuff but ehh. Thanks for the fix, will update the stackblitzes.

Yeah it kinda weird. They state the proxy design in their docs somewhere, but I feel pitfalls like these should be a separate section in their docs. Something like common pitfalls which states this design choice fe, rather than somewhere nested in the api docs.


Stitch command-line tool

Following on from https://github.com/sstephenson/stitch/pull/11#issuecomment-1645886
Merging into stitch would probably make sense, though there are some minor conflicts with libs and practices.
Currently we're using different test frameworks (nodeunit vs jasmine); I could easily rewrite the tests or the executable project could simply exist in a different subdirectory.
Perhaps the easiest solution would be the stitchup package becoming a stitch dependency and the stich executable simply acts as a proxy.

+1

+1


Add support for FreeBSD 13

Is your pull request related to a problem? Please describe.
No.
Description
Allow permasigner to run on FreeBSD 13-STABLE (and probably -RELEASE too).
Packaging, signing, and installing are tested and work as expected
Notes:

~ldid needs to be compiled manually and put into ~/.local/share/permasigner/ to work, since there is no FreeBSD binary in the ldid fork that it downloads from.~ in progress
~comms/usbmuxd manually needs to be ran to open /var/run/usbmuxd (it should also pull comms/libimobiledevice as a dependency which is needed as well)~ fixed
~iproxy 2222 22 also needs to be run beforehand~ fixed

Checklist

[x] The new code was tested.
[x] The code isn't overly messy.

I managed to get the installer to run successfully, but the if loop throws the following error:
File "/usr/home/ethan/Compiling/permasigner/permasigner/ps_installer.py", line 108, in install_deb     if "password".encode() in output or "Password".encode() in output: TypeError: 'in <string>' requires string as left operand, not bytes
It works if I remove/edit the line entirely, but I am not sure if it will mess with things if I push it upstream

Hopefully resolved it in third-to-most recent commit and added a notice in most recent and second-to-most recent commits, I think it should be safe to merge now

Doesn't the script already relay port 2222 to 22? The tcprelay is doing that. Not sure why iproxy is needed.
Someone needs to write a workflow to compile for freebsd. Otherwise the download will fail.
usbmuxd is run automatically when a device is connected, that is the case on linux.

usbmuxd is ran automatically when a device is connected, that is the case on linux.

@superrnovae Sadly that's not the case here: From the libimobiledevice readme:, usbmuxd uses systemd or udev to automatically run, but FreeBSD uses devd which works quite differently (side note - devel/libudev-devd is supposed to bridge that gap).  The comms/usbmuxd port fixes that problem due to it being a native port, but it doesn't seem to automatically run without any additional configuration - something the typical user probably won't do - so it's at least worth a mention.

Someone needs to write a workflow to compile for freebsd. Otherwise the download will fail.

Good idea, though I'm not sure how difficult that would be as I am not familiar with github workflows.

The tcprelay is already relaying port 2222 to 22. Not sure why iproxy is needed. If it fails, then you can pass --tcprelay flag to script in the form of 22:2222:<IP_ADDRESS>:/var/run/usbmuxd, the last 2 are optional.

I can't figure out why exactly either - all I know is that something in ps_tcprelay.py isn't doing something right (even with --tcprelay...!).   I spend a good few hours trying to diagnose the problem but I just got an error 3 no matter what I did, and I couldn't find anything about it online.  I just did a sample run with iproxy running and not running and copied the debug output, maybe someone can use it  to find out what's wrong once and for all?
log-iproxy.txt
log-noiproxy.txt
I'll try to resolve conflicts and retrace my steps to work it out, but I'm puzzled.

log-iproxy.txt
log-noiproxy.txt

judging by logs the iproxy was running in both cases.

I'm not familiar with freebsd, is running /usr/sbin/usbmuxd enough to launch it?
yeah, though it's located in  /usr/local/sbin/usbmuxd.  It just doesn't automatically runs like people expect (I don't think I made that as clear as it should've been)

I'll debug it in the vm in the morning. In the meantime, could you please test this artifact? Let me know if it doesn't work. Thank you!

The binary runs fine but it complains that ldid is malformed/outdated and tries to download it.  Apparently ps_downloader doesn't have an entry for freebsd so it freaks out and overwrites ldid.  Thanks for your help!

The binary runs fine but it complains that ldid is malformed/outdated and tries to download it. Apparently ps_downloader.py doesn't have an entry for freebsd so it freaks out and overwrites ldid. Thanks for your help!

It was built in my local repo. It's was not released yet.

usbmuxd is ran automatically when a device is connected, that is the case on linux.

@superrnovae Sadly that's not the case here: From the libimobiledevice readme: usbmuxd uses systemd or udev to automatically run, but FreeBSD uses devd (and no systemd) which works quite differently (side note - devel/libudev-devd is supposed to bridge that gap). The comms/usbmuxd port fixes that problem due to it being a native port, but it doesn't seem to automatically run without any additional configuration - something the typical user probably won't do - so it's at least worth a mention.

Someone needs to write a workflow to compile for freebsd. Otherwise the download will fail.

Good idea, though I'm not sure how difficult that would be as I am not familiar with github workflows.

The tcprelay is already relaying port 2222 to 22. Not sure why iproxy is needed. If it fails, then you can pass --tcprelay flag to script in the form of 22:2222:<IP_ADDRESS>:/var/run/usbmuxd, the last 2 are optional.

I can't figure out why exactly either - all I know is that something in ps_tcprelay.py isn't doing something right (even with --tcprelay...!). I spend a good few hours trying to diagnose the problem but I just got an error 3 no matter what I did, and I couldn't find anything about it online. I just did a sample run with iproxy running and not running and copied the debug output, maybe someone can use it to find out what's wrong once and for all?
log-iproxy.txt log-noiproxy.txt
I'll try to resolve conflicts and retrace my steps to work it out, but I'm puzzled.

I managed to reproduce this after uninstall openssh package from my iPad.

The binary runs fine but it complains that ldid is malformed/outdated and tries to download it. Apparently ps_downloader.py doesn't have an entry for freebsd so it freaks out and overwrites ldid. Thanks for your help!

It was built in my local repo. It's was not released yet.

DIfferent issue, I finally found why.  Currently, if ldid is not in path (even if it's in data_dir), ldid.download() is called (see __main.py__ line 311) and a hash is generated from the most recent release of the fork of ldid, with a url based off what get_arch returns (which is either "ldid_freebsd13_x84_64" (my fork) or "nothing" (upstream)).  Since neither url actually exists, the mismatched hashes prompts the system to redownload ldid.  Somehow the url returns a 200 and ldid is overwritten, creating a file that just says 'Not Found'. 1061d00ece281135b2b315f5b422ff182a4f8388 Removed the ability for ldid to still be used anyway as a last resort  (I presume).  A manual override (possibly in the form of a flag) could bypass this, but that's probably not worth the effort
TL;DR line 311 of __main.py__ needs an indent and the problem goes away.

I managed to reproduce this after uninstalling openssh package from my iPad.

Which log or both?  I have openssh installed on my phone, just checked.  FWIW I have a hunch that the current implementation of tcprelay (I think) can't/isn't able to properly communicate with usbmuxd for some reason so it isn't able to establish a connection at all

Which log or both?

the one without iproxy.

if ldid is not in path (even if it's in data_dir), ldid.download() is called (see __main.py__ line 311)

Yes. That's how it works. It will fail on systems we haven't compiled ldid for yet.
I just installed freebsd in VM. Compiled libusbmuxd, usbmuxd from ports and it connect just fine to device. It has issues sending file over scp or sftp, most likely because I'm in a vm.

I found out why tcprelay fails to connect to usbmuxd socket, I'll merge the solution later today.

I just installed freebsd in VM. Compiled libusbmuxd, usbmuxd from ports and it connects just fine to device. I also enabled devd support and usbmuxd socket is automatically opened whenever I connect my device. But it has issues sending file over scp or sftp, whether I passthrough the usb controller or simply redirect the usb device. (I suspect it has something to do with Virtio driver)

Works for me so it's probably virtio

Yes. That's how it works. It will fail on systems we haven't yes compiled ldid for

oh ok, I just misunderstood what it was supposed to be doing, my bad.

Possible reason is you have more than 1 device connected. Tcprelay will always attempt to connect to first device it retrieves from the list of devices.

The only usb device connected is my phone, so that's out of the question.  Does everything work for you on FreeBSD as-is?
Might've found the root of my issue.  After playing around even more, I found that tcpconnect.py works whilst ps_tcprelay.py doesn't.   For some bizarre reason, if you replace dsock = mux.connect(dev, self.server.server_address[1]) with  dsock = mux.connect(dev, self.server.rport) I get no error and the program resumes... and succeeds!
If I understand everything correctly, server_address[1] is the local open port (2222 for me), so by mapping that to dsock, tcprelay ends up trying to connect to port 2222 not 22. I was able to somewhat verify this through pdb (put a breakpoint at permasigner/ps_installer:45) and saw that the error was encountered while running client.connect( in ps_installer.py.

Might've found the root of my issue.  After playing around even more, I found that tcpconnect.py works whilst ps_tcprelay.py doesn't.   ~For some bizarre reason,~ If you replace dsock = mux.connect(dev, self.server.server_address[1]) with  dsock = mux.connect(dev, self.server.rport) I get no error and the program resumes... and succeeds!  This isn't wholly reliable as it sometimes freezes while copying (but not very often), but a restart of usbmuxd does the trick.
If I understand everything correctly, server_address[1] is the local open port (2222 for me), so by mapping that to dsock, tcprelay ends up trying to connect to port 2222 not 22. I was able to somewhat verify this through pdb (put a breakpoint at permasigner/ps_installer:45) and saw that the error was encountered while running client.connect( in ps_installer.py.

Btw, I've fixed that upstream.

Tcprelay issues fixed in 37de061abb5728681e8842e0cef6e7fbffccf467

As for the ldid, I'll have it compiled for both freebsd12 and freebsd 13 on x86_64 and arm64 architectures in a couple hours.

As for the ldid, I'll have it compiled for both freebsd12 and freebsd 13 on x86_64 and arm64 architectures in a couple of hours.

Ok.  Keep in mind that FreeBSD calls x86_64 amd64 which may cause issues

Ok. Keep in mind that FreeBSD calls x86_64 amd64 which may cause issues

I'll keep that in mind. Thanks. I'll test everything in the vm beforehand.

With 5aa881ae916db523b9afb1c9e58ebb39fceb7cdd, I think I ironed out most of the issues and the program now runs fine for me (usbmuxd can be a hit-or-miss though).  Can you run it through the VM to make sure there's nothing wrong?  You shouldn't need to mess with anything to make it work (ldid just needs to be in ~/.local/share/permasigner)
By the way, it might be a good idea to revert 411bc8f0bc545b135bfc612c6d568b2f69dfbe7b. Since that commit installed debs don't give the app execution privileges, so they just crash on startup without warning

since that commit, installed debs don't give the app execution privileges, so they just crash on startup without warning (oh and sudo needs to be installed to make it work as well but I don't know of a workaround for that)

I know, but giving execution permission in postinst isn't an optimal solution. Some users don't have sudo package on their devices, and the install was resulting in an error for them.

I've made a PR to build ldid for FreeBSD here

Manually merged in 67e35e4


doc: Added example BUILD file.

Signed-off-by: Peter Polacik<EMAIL_ADDRESS>

@pepol LGTM, thanks!


Message state management

The state management is currently handled by the message handler class.

Node CI is failing due to linter errors

rebased to resolve merge conflicts


dashboard: cache bug groups on the main page

Yes, it is by no means a comprehensive solution, but since we definitely do not have enough time for one now, let's cover at least the main page. It's terribly slow at the moment.

For upstream Linux namespace, it sometimes takes up to 5-10 seconds to
load the main page. That is too much and the reason for this is
datastore not being intended for frequent querying of thousands of
entities from the database.
Let's take a step forward and at least cache the bugs we display on the
main page. Once in a minute, query them for all access levels, compress
and save to the memcached.
Only do it for non-filtered bugs, because otherwise it works fast
enough.

@tarasmadan PTAL

Approval survived the force-push?)

Approval survived the force-push?)

It survives rebase if it's done from GitHub UI


bolt-aws-lambda missing aws-java-sdk-s3 dependency

bolt-aws-lambda requires aws-java-sdk-s3 to function however it is not included in the pom.
Note:  It is marked as a provided dependency in java-slack-sdk (which makes sense as its optional), but as far as I'm aware it's always required when using bolt-aws-lambda, therefore should be compile scope.

Hi @andyRokit, thanks for writing in!
Not having the aws-java-sdk-s3 dependency in compile scope is intentional. Running AWS Lambda functions does not require S3 storage. Some developers may want to use a Lambda function without S3 storage (say, using DynamoDB for storing data/state).
If you use S3 along with AWS Lambda, please add the S3 dependency in your pom.xml.

Of course! :man_facepalming:
That makes perfect sense - thanks for the quick feedback.


Error in request: EOF occurred in violation of protocol (_ssl.c:590)

Summary.
Expected Result
No exception
Actual Result
INFO:root:Updating jobs in ['vm_docker_test.yaml'] ([])
Traceback (most recent call last):
  File "/usr/local/Cellar/jenkins-job-builder/1.6.2/libexec/bin/jenkins-jobs", line 10, in <module>
    sys.exit(main())
  File "/usr/local/Cellar/jenkins-job-builder/1.6.2/libexec/lib/python2.7/site-packages/jenkins_jobs/cmd.py", line 191, in main
    execute(options, config)
  File "/usr/local/Cellar/jenkins-job-builder/1.6.2/libexec/lib/python2.7/site-packages/jenkins_jobs/cmd.py", line 372, in execute
    n_workers=options.n_workers)
  File "/usr/local/Cellar/jenkins-job-builder/1.6.2/libexec/lib/python2.7/site-packages/jenkins_jobs/builder.py", line 348, in update_jobs
    self.load_files(input_fn)
  File "/usr/local/Cellar/jenkins-job-builder/1.6.2/libexec/lib/python2.7/site-packages/jenkins_jobs/builder.py", line 245, in load_files
    self.parser = YamlParser(self.global_config, self.plugins_list)
  File "/usr/local/Cellar/jenkins-job-builder/1.6.2/libexec/lib/python2.7/site-packages/jenkins_jobs/builder.py", line 241, in plugins_list
    self._plugins_list = self.jenkins.get_plugins_info()
  File "/usr/local/Cellar/jenkins-job-builder/1.6.2/libexec/lib/python2.7/site-packages/jenkins_jobs/builder.py", line 205, in get_plugins_info
    raise e
jenkins.JenkinsException: Error in request: EOF occurred in violation of protocol (_ssl.c:590)

Reproduction Steps
i am trying to create a jenkins jobs through jjb
jenkins-jobs --conf ./jenkins_jobs.ini update vm_docker_test.yaml

where jenkins_jobs.ini
[job_builder]
ignore_cache=True
keep_descriptions=False
recursive=False
exclude=.*:manual:./development
allow_duplicates=False
allow_empty_variables=True

[jenkins]
user=someuser
password=somepassword
url=https://subdomain.company.com/jenkins/group
query_plugins_info=True

System Information
openssl version
OpenSSL 1.0.2l  25 May 2017

pip freeze
asn1crypto==0.23.0
certifi==2<IP_ADDRESS>
cffi==1.11.2
chardet==3.0.4
cryptography==2.1.2
Cython==0.27.1
enum34==1.1.6
http-client==0.1.22
idna==2.5
ipaddress==1.0.18
ndg-httpsclient==0.4.3
pyasn1==0.3.7
pycparser==2.18
pycurl==7.43.0
pyOpenSSL==17.3.0
requests==2.18.4
six==1.11.0
urllib3==1.22

It seems like your Jenkins doesn't like our TLS handshake. Can you run openssl s_client -connect jenkins_host:jenkins_port and provide the output here?

Hi @w888,
It seems this isn't an issue for you any longer. If I'm wrong, please provide us with the information that @Lukasa requested.
Until we have that information, I'm closing this issue because it does not have enough information for us to act on it.
Cheers,
Ian

I am hit the same error. sending some REST API call via requests

r = requests.post(url=url,headers=headers,data=json.dumps(Data),verify=False)
Traceback (most recent call last):
File "", line 1, in
File "/Library/Python/2.7/site-packages/requests/api.py", line 112, in post
return request('post', url, data=data, json=json, **kwargs)
File "/Library/Python/2.7/site-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "/Library/Python/2.7/site-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/Library/Python/2.7/site-packages/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/Library/Python/2.7/site-packages/requests/adapters.py", line 506, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='<IP_ADDRESS>', port=443): Max retries exceeded with url: /tssm/onboard-tenant (Caused by SSLError(SSLEOFError(8, u'EOF occurred in violation of protocol (_ssl.c:590)'),))

$ openssl version
OpenSSL 1.0.2m  2 Nov 2017
$ python --version
Python 2.7.10


unclear permission assignment to user-assigned managed identity

Hi,
As the documentation describes you can assign a role to a user-assigned managed identity.
I find it unclear as to what specifically you need to assign permissions to.

 Not sure what to select here (unclear)

Why would I need to set permissions here? I created a user-assigned managed identity for / in a specific resource group. Shouldn't it by default have permissions on all resources in the resource group?
Thank you.
Dieter

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

ID: 1f28a934-ad9b-6f87-93ac-7dbd32363b61
Version Independent ID: 84f6b6c5-a50d-293f-0d94-1aba738a622f
Content: Manage a user-assigned managed identity in the Azure portal - Azure AD
Content Source: articles/active-directory/managed-identities-azure-resources/how-to-manage-ua-identity-portal.md
Service: active-directory
Sub-service: msi
GitHub Login: @MarkusVi
Microsoft Alias: markvi

@DiSae Thank you for your feedback . We will investigate and update the thread further.

@DiSae The IAM assignment is to the Managed Identity Contributor. You create a User-Assigned Managed Identity then you can assign the required IAM permissions to the same. The Managed Identity when created does not have the permission assignment. Hence, the required permissions have to be set by IAM for the Managed Identity to have required access to the resources in the Resource Group.
We will be closing this thread now. Please let us know if you need further help by re-opening the thread and Tagging myself.


[Plugin] Component Scoring Plugin

Summary
While the features of Backstage itself might be a good way to make teams to register their components to Backstage, it might no be sufficient. One idea would be a linting / scoring / gamification plugin that has specific rules and give a score to a component. To make it more visible, an aggregated team score would be useful.
Inspiration could be the "Pub Points" from the package manager Pub. But compared to Pub, not the implementation, but the entity description in Backstage is scored.

Example Condition:

Component has an owner
Component has a short description
Component has tags
Component has ci/cd tool linked
Component has tech-docs linked
Components contains no typos (vale?)
Component has a annotation xyz... Here is where it is getting quite specific to the cooperate.

Cooperates might want to provide custom rules on what informations should be available in the catalog.
The plugin should contain an extensible scoring logic, a score display on the entity page, a score display on the team home page and if possible a list of all components sorted by their score.
Context
I wonder if there is already such a plugin at Spotify. Might the tech-insights plugin fall into the same problem space, just for the implementation of a component?

We have pretty much this exact tooling on our internal Spotify backstage!
Would there be interest in us open sourcing this and making it a part of backstage?

We have pretty much this exact tooling on our internal Spotify backstage!
Would there be interest in us open sourcing this and making it a part of backstage?

From my point: sure!

Potentially tangential to the initial of just having a scoring/gamification plugin, would be allowing other plugins to add into / extend the gamification would be wonderful.
For example, there are repolinters out there that check your GitHub repo uses some best practices such as:

Existence of README.md
Existence of CONTRIBUTING.md
Existence of a LICENSE
Existence of a .gitignore
and so on...

These could then introduce an additional scoring badge into the main scoring plugin.  Or a scoring badge that gets added to a 3rd party plugin pages as a widget, that sort of thing?

Tying into Squads/Org plugin
Tying this together, I wonder if gamification scoring could be extendable in a sense that it could apply to Components (as requested here in) but also to Squads (reference https://github.com/backstage/backstage/issues/2752).
The videos/screengrabs we've seen of Spotify's internal Backstage seem to lean in this direction, and in our never ending approach to try to drive accountability to our squads and teams, having them compete for quality also in a larger company helps tie into engineering leadership and quarterly/yearly goals, etc.
So a mechanism to somehow define a score hierarchy, maybe per component, then average/sum the score UP to the squad team for all of their owned catalog items.
Extensible scoring
Defining a set of core scores, but making the scoring extensible would be great. We have a training tool where we track completed training, and some of the data is manual (no APIs yet!) and would be great to be able to extend it with some custom code doing something as simple as loading a CSV or raw JSON and processing it, and then "adding" a score to the main score in some fashion.

@palmerj3 you noted before a possibility of open sourcing this plugin from Spotify.  any further thoughts on this?  even if they are just some of the concepts/high-level implementation/lessons learned from your internal implementation might give the community some ideas to proceed with it.
I think requirements off the top of my head:

A widget that can be displayed near the about card on a Group entity page
A full page (i.e., a tab?) that gives more details on the score for the Group
A competition page, possibly separate from the rest, which show the a table of the teams, with maybe rows 1, 2, 3, in much larger text than all the others, possibly with sparklines in one of the rows as well?

"Fun" scoring system. By this I mean, school-type lettering (A, B+, C, ...) can bring back fearful memories of yesteryears. Numeric percentages are good, but boring and mathematical (74%). I might prefer something letting a team select emoji icons which might relate to their industry.     That sort of thing?

@palmerj3 you noted before a possibility of open sourcing this plugin from Spotify.  any further thoughts on this?  even if they are just some of the concepts/high-level implementation/lessons learned from your internal implementation might give the community some ideas to proceed with it.
I think requirements off the top of my head:

A widget that can be displayed near the about card on a Group entity page
A full page (i.e., a tab?) that gives more details on the score for the Group
A competition page, possibly separate from the rest, which show the a table of the teams, with maybe rows 1, 2, 3, in much larger text than all the others, possibly with sparklines in one of the rows as well?

"Fun" scoring system. By this I mean, school-type lettering (A, B+, C, ...) can bring back fearful memories of yesteryears. Numeric percentages are good, but boring and mathematical (74%). I might prefer something letting a team select emoji icons which might relate to their industry.     That sort of thing?

As this is a plugin suggestion, I don't think that we should close it. Any thoughts? Or should we handle plugin suggestions as discussions in the future?


smbtrap2.py ERROR

Hi! While using smbtrap2.py, I met the problem: NTLM-hash doesn't be caught by this script. Nothing happens in terminal: no errors, no data. I opened smb.log and saw the error, input below:
11/09/2016 07:43:08 PM: INFO: Config file parsed
11/09/2016 07:44:13 PM: INFO: Incoming connection (<IP_ADDRESS>,53545)
11/09/2016 07:44:13 PM: ERROR: processRequest (0x72,smbComNegotiate() takes exactly 4 arguments (5 given))
11/09/2016 07:44:13 PM: INFO: Handle: smbComNegotiate() takes exactly 4 arguments (5 given)
11/09/2016 07:44:13 PM: INFO: Closing down connection (<IP_ADDRESS>,53545)
11/09/2016 07:44:13 PM: INFO: Remaining connections []
What should I do? Could you help me?

What version of impacket do you have installed?

python-impacket 0.9.13-0kali1


Native Types

Since we plan on conforming with UTF-8, chars can no longer be of C char type, this PR changes the internal representation of a Char to become capable of holding an arbitrary Unicode code point.
Since chars become unsigned entities, and since NativeString will hold Byte values soon, its c type has been changed to unsigned char* as preparation for the migration
This is all related and necessary for #1262.

+1

+1

Reroll: Merge conflicts resolved and tests should (hopefully) pass

@xymus Since I change a few bits of FFI, you might want to take a look at this reroll

As requestd, I'm waiting a confirmation of the +1 of @xymus before okwillmerge

Still +1

Missing #include <stdint.h> in global&semiglobal. http://gresil.org/jenkins/job/nit_tests/engine=nitg-g/lastCompletedBuild/testReport/ http://gresil.org/jenkins/job/nit_tests/engine=nitg-sg/lastCompletedBuild/testReport/ in order to get uint32_t and other.

Reroll: Supposedly fixed the issues, tested on my machine and on pratchett, unless I did something wrong, this should be fixed


Adding flag to handle external metrics not part of a dashboard

This flag will be used to recognize a mode in the adapter to handle these kind of metrics. Added the flag in the admin UI.

That's because these classes of thirdeye-pinot are used in the ingraph adapter. Once this jar is published, I will be making changes to the adapter


Examples of use?

Does anyone have an example Grafana dashboard(s) they can share or a set of Prometheus alerting rules based on this exporter?

any update here? will save me tons of time

I assume that everyone keeps on making the same basic dashboards?

If you have a dashboard that uses the above exporter, could you share it?

Yeah, I'm currently trying to work out a query that would allow me to alert on the same workflow in the same repo failing more  than some number of times in a row. Even as a seasoned user of prometheus I'm not sure how i'll manage it. Seems like some more metrics could help here.
An all up metric by workflow and repo with a counter for each possible result as noted on github_workflow_run_status would be actually very useful.


Support for "Take a Picture" msg and stream of image?

Hey,
i was wondering if there is support for the above message and the ability to stream the resulting jpg image to the SDK? I saw at least in the ZR10 SDK manual some message to trigger a shot.
Thanks!

It is actually implemented in the SDK
https://github.com/mzahana/siyi_sdk/blob/016dcbf8b4e0486a1c36abad23866580dfda17f6/siyi_sdk.py#L572
But probably I didn't make a test file for it.
The image will be stored in the SD card. There is currently no implemented method for fetching the recorded image. Feel free to submit a PR.
Thank you.


New version: AbstractPlotting v0.10.4

Registering package: AbstractPlotting
Repository: https://github.com/JuliaPlots/AbstractPlotting.jl
Created by: @asinghvi17
Version: v0.10.4
Commit: 303c0373a0179f6627e8d09dd9fbec140be573c6
Reviewed by: @asinghvi17
Reference: https://github.com/JuliaPlots/AbstractPlotting.jl/commit/303c0373a0179f6627e8d09dd9fbec140be573c6#commitcomment-38656657

[noblock] Please ignore this, I'll release a v0.10.3.


why ydiff not work in fzf preview

[x] I have read through the manual page (man fzf)
[x] I have the latest version of fzf
[x] I have searched through the existing issues

Info

OS

[ ] Linux
[x] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[ ] bash
[x] zsh
[ ] fish

Problem / Steps to reproduce
the cmd ydiff -s --wrap src/App.vue is work on my terminal
the src/App.vue is the file name i want to diff
but this command not work ,and preview show noting
git status -s
| fzf --no-sort --reverse
--preview 'ydiff -s --wrap {+2}'
--preview-window=right:60%:wrap

No idea. I'm not familiar with the problem. But redirecting /dev/tty seems to fix the problem.
git status -s | fzf --no-sort --reverse --preview 'ydiff -s -c always --wrap {2} < /dev/tty' --preview-window up

No idea. I'm not familiar with the problem. But redirecting /dev/tty seems to fix the problem.
git status -s | fzf --no-sort --reverse --preview 'ydiff -s -c always --wrap {2} < /dev/tty' --preview-window up

this cmd can't deal such case when a file change and this file's path contains blank space. such as  'computer architecture/Coherence Basics.md' .
I have tried to replace {2} with  '{2}' or "{2}" . but both them not work

Well, you'll have to figure out how to handle that using shell scripting.


Make Module instantiations draw clock from Builder instead of parent

Fixes #567

I just stumbled into this bug :-(

:(


"Copy Share Link" button

_ Is refactor
x Is new feature
_ Concerns documentation

Now that we have a unique program url, we need to make this more visible the user. I recommend we have a "Copy Share Link" button, similar to the Rescript environment.
https://rescript-lang.org/try
When the button is pressed, it should change to say "Copied to clipboard", similar to that file.
The button should be next to the "Autorun" button, for now.

The button should be next to the "Autorun" button, for now.

On the right side, I suppose? Since autorun button width can change depending on its state.
This also reminds me that tabs on narrow screens look weird, should fix that one while I'm at it, since extra button would affect it:

This also reminds me that tabs on narrow screens look weird

Actually, I'm not sure how to improve on this without a significant redo (e.g. implementing a dropdown mode for narrow screens).
So I'll just leave it as is for now. It's fine for 791px+ width, which is good enough, playground isn't very mobile-friendly yet anyway.


[Sheet Deprecation] AGE System Sheets

In one week, we'll be deprecating old versions of the Dragon AGE, Fantasy AGE, Blue Rose, and Titansgrave character sheets in favor of the unified AGE System sheet which allows you to select any one of these games and provides significant additional functionality.
The newer sheet is "AGE System" by @GhostMatter.  Previous sheet authors for the former sheets -- @Joshua-L-Casserino, @mansen, @tai-allman, @phobos13 -- if you would like to make further contributions, please do so on the newer sheet.  The old sheets will continue to function in games that have them selected, but they will no longer be selectable from the dropdown.
@GhostMatter, it would be most appreciated if you could make a post on the Character Sheet Forums explaining this transition and what support your sheet offers.
Thanks to everyone for your hard work in continuing to improve our ever-growing collection of community contributed character sheets!
Jeff

These sheets (Dragon Age, Fantasy Age, Blue Rose, and Titansgrave) are now being deprecated.  Please use the AGE System sheet for these games.


Fixing doc references

Let's change .md to .rst
Description of the Change
Change the format from .md to .rst because Table of Contents doesn't work and wrong nesting on the contribution page.
Benefits
It will allow us to fix not-working references on the
contribution page. Moreover, it will allow us not to write Table of Contents manually since now it will be generated automatically. Also, with these changes, we have the correct nesting and enumeration of content.
Before:

After you apply these commits:

Possible Drawback
If later you want to change the page you either need to learn .rts format or use auto-converters such as pandoc to make .rts out of .md.

Thank you @Exctues for your contribution!

Closed due to inability to merge (the source fork has been removed). Reopened as https://github.com/hyperledger/iroha/pull/244 (confirmed with exctues)


Excluding docker-engine from yum update in preflight

We have faced a problem when retrying the preflight phase. The problem was that if during the first attempt docker has been installed (or it already installed in the machines), the command sudo yum -y update will update docker to the lastest version (currently 1.12). The PR excludes package docker-engine in the sudo yum -y update command, but it could be resolved by other ways (for example blacklisting the update of docker-engine package)

So we've already landed: https://github.com/dcos/dcos/pull/458 to prevent docker from being updated / pin it to 1.11, does that work for you?

@cmaloney that's perfect, but the problem I faced that commit was already present. The problem is not that preflight script doesn't install docker version 1.11.2. The problem is that if you run preflight script more than once (because some node failed and you try using retrying option), when the preflight script is run this second time, because docker repository is present and docker-engine is installed, running yum update -y (this line) will update all the packages installed in the system, and that includes docker-engine.
By the way I don't know if you want to perform a complete system update when running the preflight phase, but maybe it's more secure to do not run it and avoid the updating of any conflictive package. (yum will automatically perform a repo list update when installing any package if the cache is not updated).

So there's actually two different steps that are "combined" when you use the web installer:
--install-prerequisites: Installing all the things DC/OS requires
--preflight: Make sure the host has all the dependencies of DC/OS and don't install if it doesn't.
When you use the SSH installer, or install by hand, you can skip the --install-prerequisites phase. The --install-prerequisites phase is not repeatable (whereas the actual --preflight is not). This is sounding like currently, the web installer re-runs the --install-prerequisites phase in some circumstances, when it shouldn't.

@cmaloney That sounds good. As you said, may be the problem is related to running the --install-prerequisites twice. As you pointed, the installation mode I followed when the problem arises was the web installer. To be more clear, the problem I suffered is that after the "preflight" phase on the web installer some of my nodes had Docker 1.12 installed (those ones the nodes that the first time the preflight worked correctly), and the nodes that failed the first preflight, after fixing the problem and retrying the preflight, it had Docker version 1.11.2.
If you find there is a better way to avoid this or you'd like I can try to check in which conditions the --install-prerequisites are run more than once, or we can provide a patch to blacklist the Docker package from a unwanted upgrade running yum update.

@jcortejoso I'm going to think about it some, get back to you in 24 hours or less. See if there's something that's small / simple which will work for 1.8 timeframe.

Hey, @jcortejoso How does #482 look to you? Basically the installer will never run install prerequisites twice on a host.

@cmaloney #482 seems good. It should fix the problem describer in this PR so I think we can close it.
Thanks!


Initial wizard design & first wizard screen (location & dates)

I realized that some CSS was broken as it previously rendered, so there is a small reorg of the Vue page structure as well.

Quick demo showing off the login callback actually looking like it's doing something, navigating around the wizard demonstrating how it renders the correct content based on which section you're in, and the first pane in the wizard with a date picker.
cc: @tylerauerbeck @oybed

@jacobsee that's awesome - thank you!!!


Add Drag & Drop receiver for X11

What does the pull request do?

Implements the X Windows Drag-and-Drop Protocol (XDND for receiving text and files.
What is the current behavior?

Previously, Drag-and-Drop would not work on any Linux platform.
What is the updated/expected behavior with this PR?

Drag-and-Drop with Avalonia on the receiving site works.
How was the solution implemented (if it's not obvious)?

The Client Window sets the flag XdndAware so that the server will send XDND events to it. "Enter", "Position" and "Leave" Events are forwarded to the Avalonia-Internal Drag handler.
Currently I always tell the X-Server that a file can be dropped with no mind off the underlying UI component.
Also because of the limitation of the IDataObject, contents are always received in full on "Drop" before awaiting the user to make a choice of data type (See https://github.com/AvaloniaUI/Avalonia/issues/6085).
Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[X] Consider submitting a PR to https://github.com/AvaloniaUI/avalonia-docs with user documentation

The broken behavior was never documented there so it makes no sense to do so now.

Fixed issues

Fixes #6085

I'm not reading all of that lol

@HookedBehemoth Please sign the CLA so we can review & merge :pray:

@dotnet-policy-service agree

I'm really looking forward to getting this in.
May I ask how can one sign the CLA? I could not find anything about this in CONTRIBUTING.md

May I ask how can one sign the CLA?

The bot will ask you to sign it when you submit a PR the first time.

I already forgot what I signed. I don't agree anymore.
@dotnet-policy-service terminate

Seeing as you have terminated the agreement, do you consent to someone else picking this up and submitting a new PR using this code under the MIT license (ie what Avalonia uses)? The CLA is kind of needed to let people do that since it gives a copyright license for people to actually use the code.

Copyright License. You grant .NET Foundation, and those who receive the
Code directly or indirectly from .NET Foundation, a perpetual, worldwide,
non-exclusive, royalty-free, irrevocable license in the Submission to
reproduce, prepare derivative works of, publicly display, publicly perform,
and distribute the Submission and such derivative works, and to sublicense
any or all of the foregoing rights to third parties.

I am OK with anyone using this code under the terms described in the MIT license. This sounds like the .NET foundation wants to keep the right to release this code under any other license at a future point in time which I am not OK with.

The license terms in the agreement are essentially:

The foundation can use the code provided to the foundation for free
You are free to license the code to other people
You can't revoke the license from the .NET foundation
The foundation is allowed to use the code you provide to the foundation however they want, including providing it to other parties like making it available on github
The foundation can grant a license to anybody anybody they want on your behalf

The MIT licensed code can only be intergated with code under an MIT compatible license. There are not a whole lot of those due to how permissive it is. The biggest one is the GPL. However seeing as the MIT license can't actually be revoked, all the existing MIT code would remain forever under MIT even if the license for Avalonia changed one day.
The MIT license also explicitly says:

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

As such there is nothing in that copyright license grant that is not already in the MIT license. That said, from my understanding (and I am not a lawyer) the sublicensing only allows them to grant them a license under the exact same terms as what was given to them.

Great. So we don't need to grant them extra rights if the MIT license already covers it :)

Come on @HookedBehemoth !! 😭😭😭

@HookedBehemoth so do you mind someone else submitting it yes or no?

I do mind, yes.

I do mind, yes.

ah, ah, ah.  I hope it's a joke.  I respect your choice, but I don't agree with it.  It seems to me that you are behaving like those you fight.

It's not a joke


Improve logging

This removes an unused dict (which was previously used for logging) and replaces it with logger.debug statements to avoid the extra object creation for logging.

@mergifyio refresh

Mergify rules have changed since this was opened thus no automerge - doing so manually


Skip flaky Emmet tests

CC @sandy081

This should be fixed by https://github.com/microsoft/vscode/pull/187537. Hence closing this.


Add table for VPC Network ACL. Closes #41

Closing this PR for now (but keeping branch), as this table is still under development.


Setting a property with invalid json takes down system

So I was updating the service executor pools configuration on a system and inadvertantly missed the final bracked on the property.  This results in "invalid json".  All of the tservers then started spamming, in what appeared to be a very tight loop, this error.  Many tserver subsequently ran out of memory and others were left in a bad state and became unresponsive (deemed unreachable but did not halt).  Also the monitor got pounded so hard with messages that the node itself became unresponsive.  Unfortunately the manager was running on the same node and became unreachable as well.
I was able to rectify the property using the property editor and after a while the system calmed down.  However I still had to drop the entire cluster to be able to recover all of the tservers that were in a bad state.
Basically, setting a json property with invalid json should not take down the system.

We likely need to add some logic to PropUtil.validateProperties for this. However, without annotating which properties accept json, we might have to hardcode the list for now.

We likely need to add some logic to PropUtil.validateProperties for this. However, without annotating which properties accept json, we might have to hardcode the list for now.

It would be nice to validate these properties at set time, but not sure its possible.  Would need to overcome the following in validation

The compaction service config spans multiple properties.
Validating JSON would not be enough and could break plugins that are not the default.  A planner plugin implementation may not take json, or it could take json but expect a very specific schema.

Opened #3912 to make the system behave better when there is bad config as identified in this issue. Need to do some more general follow on work to address per table compaction dispatchers having config that makes them throw an exception, that may cause a similar log storm.

@keith-turner @dlmarion As a possibly related issue (but less severe), we observed that an incorrect accumulo.properties configuration caused the default compaction planner to report an exception during initialization - but still allow the tablet-server to start-up (i.e. without a default service).
The error manifested in the tablet-server logs as (note we believe there is no default service due to the error at start-up):
ERROR: Tablet<> returned non-existent compaction service default for compaction type SYSTEM. Check the table compaction dispatcher configuration. Attempting to fall back to default service.

At tablet server start-up there is a message:
[compactions.CompactionManager] ERROR: Failed to create compaction service default with planner:<attempted configuration>
com.google.gson.JsonSyntaxException ...
...
at org.apache.accumulo.core.spi.compaction.DefaultCompactionPlanner.init(DefaultCompactionPlanner.java:54)
at org.apache.accumulo.tserver.compactions.CompactionService.<init>(CompactionService.java:107)
at org.apache.accumulo.tserver.compactions.CompactionManager.<init>(CompactionManager.java:200)
at org.apache.accumulo.tserver.TabletServer.run(TabletServer.java:774)
...

Fixed with #3912 and further validation of JSON in general being partially added with #3927.


Win32 default title bar issues

I've noticed some issues in the default Win32 title bar (at least on Windows 11).

When maximized, the close button is not exactly at the end but rather a little to the right. This is inconsistent with modern apps.
The title bar icon has no spacing from the left when maximized but it moves when not maximized. In my opinion, it should stay in the same place.
WinUI 3 - although the default taskbar has a dark mode version, it isn't enabled automatically by WinUI and requires app developers to do which most won't bother.
The size of the caption buttons change when maximized and when resized. The size should stay constant like UWP apps.

UWP XAML also needs to be loaded in every process to render that tooltip. Not a good solution considering how high overhead it is.


Addition

Hello. Thank you for the framework. It works good.
Please, can you add a functions which shows weather the HudView is visible on the given view or not.
Like this:
public static func isVisible(in view: UIView) -> Bool {

        var status = false
        if getHudView(presentingView: view) != nil {

            status = true
        }

        return status
}

Thanks!

I also have created a pull request.

@erifa could you look in to this, the PR was merged in to develop but it hasn't made it's way to master
Look here -> https://github.com/apegroup/APESuperHUD/pull/17

Closing this, it will be available in the next release


Add documentation for 'updateQueries' and friends

Please add a simple example how to use updateQueries with the new 4.x API to the documentation. Something like this would be more than enough
import React, { Component, PropTypes } from 'react'
import { graphql } from 'react-apollo'
import gql from 'graphql-tag'

class AddAlbum extends Component {
  render() {
    return (
      ...
    )
  }
}

const CREATE_ALBUM = gql`
  mutation createAlbum($name: String!, $description: String) {
    createAlbum(name: $name, description: $description) {
      id
      name
      description
    }
  }
`

const withData = graphql(CREATE_ALBUM, {
  options: {
    updateQueries: {
      albums: (prev, { mutationResult, queryVariables }) => {
        return {
          albums: [...prev.albums, mutationResult.data.createAlbum],
        }
      }
    }
  }
})

const AddAlbumWithData = withData(AddAlbum)

export default AddAlbumWithData

I can do a PR, if someone points me into the right direction.
Thanks for all the great work!

We're working on it here: https://github.com/apollostack/client-docs/pull/29
(There's a totally new client documentation site in progress over there, going to be awesome!)


Title is displaying Webpack App

The title is set to NeoPOP Design System for Storybook but is showing Webpack App when opened in new tab
From

To

@bigint Will You Assign This issue to me, Would Love To Contribute and Learn.

Hi is it still open?


chore(api): enable exam environment endpoints in prod

Checklist:

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

This is blocked till Jan?

@raisedadead No. This needs to go in, in order to test the exam environment on .dev.

@raisedadead No. This needs to go in, in order to test the exam environment on .dev.

I hate double negative checks:
if (process.env.FREECODECAMP_NODE_ENV !== 'development') {
  assert.notEqual(
    process.env.FCC_ENABLE_EXAM_ENVIRONMENT,
    'true',
    'Exam environment is not ready for production.'
  );


Create a page for Privacy Policy

We need some Privacy Policy contents, try to generate some and put them on a new page.

Hi, @Timtech4u. I can help you. I'll create a Privacy Policy page with a Lorem Ipsum content for you edit them after, ok?

https://github.com/DSCBUK/dscbuk.club/pull/12


Running as root without --no-sandbox is not supported.

Hi, sorry if my problem not related, but if you can help me plz.
When i build my docker by copy the emulator file in #1, I have an initialized device. So i can increase the boot time by snapshot like when using android studio. But when i try using this feature i get this error on exit (i get the result on the ubuntu on VM as root (like ubuntu in docker)):
emulator: Saving state on exit with session uptime 15645 ms
[8566:8566:0201/214339.170588:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

Any idea how can i fix it?
Thanks

can you share the full adb command that you used to run emulator with snapshot?

Auto snapshot not work as root user. I fix it by save manual snapshot and now the boot speed is just a few seconds.
1- Run emulator with same config in start.sh file.
2- Connect to the emulator console using telnet localhost <port_name> (for device 'emulator-5554' the port is 5554)
3- In emulator console: auth <auth_token> (auth token is in /root/.emulator_console_auth_token)
4- Save snapshot using avd snapshot save <name>
5- Copy /root/.android dir to build docker using this
6- In start.sh add -snapshot <name> to emulator parameters
7- Build image using Dockerfile in #1
For more details about emulator console: https://developer.android.com/studio/run/emulator-console
Thank you @fastphat for your help and support

the container is wiped out after the process so you will technically have to cache the avd snapshot on local disk for latter restore.
I am glad to see your question and see you've made it work (again)


Extra test for importer directives.

Test manage directive to make sure it doesn't touch anything before a
manage directive even if the imported module is not referenced in the
code.
This test is currently failing.

Fixed in e1bf26df0051f2eb23250ea8d7dd6f2e5768f932, thanks for the PR!


Consider a 'Verbose' option for adapter functionality

Current state:

Adapter functionality is performed silently, with minimal logs:

Log a "success" message before connecting to an ArangoDB endpoint
Log a "success" message at the end of an API call

Proposed feature:

Provide a verbose parameter option to all adapter API functionality, such that the package user is aware of all step-by-step operations performed:

Log on attribute validation
Log on __fetch_adb_docs calls
Log on Controller calls
Log on NetworkX graph creation
Log on ArangoDB collection creation
Log on document insertions into ArangoDB
etc.

Sample
nx_graph = adbnx_adapter.arangodb_graph_to_networkx("fraud-detection", verbose=True)

Not sure yet if this should be implemented, so will leave it with a question label for now

I see, that would be cool, assuming it's low effort. What would the main benefit be?

I think it could be useful for debugging purposes.
Should a user ever end up with an unsuccessful ArangoDB --> NetworkX or NetworkX --> ArangoDB attempt, they could re-run their attempt to understand why it failed, and provide logs to see if the failure is potentially a bug


Sliding does't work  with react  native Modal

The panResponder is not working as expected inside a react native Modal.
https://github.com/facebook/react-native/issues/9786#issuecomment-262932857

+1 Did you resolved this bug in Modal ?

+1 Did this bug get resolved?


Markdown does not function fully

When using markdown for News, using , , ** will not bold text.

This is a duplicate issue (See "Add Markdown Editor"),


Review by Wu Bohuai

It is a little strange to capitalize both E and M for Easy-Modular.

This has been resolved after merging the docs of MMGeneration into MMEditing.


Correct suitable for production information in devtool

Correct information about devtools:
cheap-source-map devtools are suitable for production usage as they emit separate files

Thanks!


bigImg

Greetings,
I just finished what I told you that I wanted to add to the landing page, about increase the pet image size onclick.
please leave your feedback.

Sorry,
My mistake. I am going to make another pull request.


Fix cron queries

New arkime sessions do not have "timestamp" field.
Seems to work :)
License
I confirm that this contribution is made under an Apache 2.0 license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

thanks


Addition of a new ML directory

We could have a new ML directory in the root directory. Within this, we can implement various loss functions, optimizers, ML models, regularization techniques and much more for better understanding of the rather abstract components of ML.

Can I be assigned for this issue?

thanks everyone :v:


[TODO] arena pruning (more expansive pruning algos)

Essentially simulate competition

I don't see how this is possible without directly refactoring away the fitness step. This feature will remain something the users themselves will have to implement (such as more fitness for entities that win, semi-simulating arena/elimination) and is impossible to implement within the builtin part of this library without breaking my own conventions.


suspicious inequality of complex values

https://github.com/williamgilpin/dysts/blob/33033ec887ee529035b995686fe12603fc769016/dysts/utils.py#L459
Is this line really meant to be comparing the raw complex values returned by rfft?  Or did you mean to compare the squared magnitudes?

@nrxszvo thank you, i will check this week. This is a function that aligns timescales for the different systems, so it would be great to improve it

@nrxszvo Thank you so much, I just pushed an update that fixes this bug. When I have time, I'll recalculate the integration timescales. Hopefully we'll see a huge improvement in timescale alignment!
william


Add icon name to descriptor

Merged in icon-tag-shim-test and then extended it to include icon class name in the descriptor.
I read over the contributing guidelines. I can't see anything not setup right.

@halkeye LGTM.
Thanks for fixing this up. Not sure why we didn't merge the original commit. I see no reason not to do it.

@tfennelly Updating to 2.0.1 seems to break things.
I changed the pom file, ran hpi:run and have no images.
I'm thinking it has something todo with https://github.com/jenkinsci/icon-shim-plugin/compare/icon-shim-pom-1.0.3...icon-shim-pom-2.0.1#diff-c0aec591762b9fcb07f322e6bb962df5L95
Is there something I need to do to get the icons into css now?

@tfennelly infact the readme on still says to use 1.0.3 (https://github.com/jenkinsci/icon-shim-plugin)

Yea, looks like 2.0 is a whole different design, but I could update to latest 1.0, but the readme for the repo/module says 1.0.3 so was kinda sticking with it.
Pinging @stephenc as he looks like the current maintainer for a review

Okay, updated for 2.0.2 as @tfennelly updated it to make the shim work properly again.

LGTM :+1:


Version should be controlled based upon plugin-name, so that versions don't conflict between plugins

Atm the NeverScapeAlone plugin also uses version in the text file (this will be changed in the future), but BDP also uses the same versioning system in the plugin properties
Current version
task createProperties(dependsOn: processResources) {
	doLast {
		new File("$buildDir/resources/main/version.txt").text = "version=$project.version"
	}
}

maybe we should change this to:
task createProperties(dependsOn: processResources) {
	doLast {
		new File("$buildDir/resources/main/botdetectorversion.txt").text = "version=$project.version"
	}
}

Will be fixed with https://github.com/runelite/plugin-hub/pull/3235

Fixed forever in theory by #164

This should no longer be an issue


[BUG] CairoMakie.mesh stopped working due to some issue in GeometryBasics.jl

MWE:
julia> using CairoMakie

julia> coords = [0. 0.; 1. 0.; 0. 1.]
3×2 Matrix{Float64}:
 0.0  0.0
 1.0  0.0
 0.0  1.0

julia> faces = [1 2 3]
1×3 Matrix{Int64}:
 1  2  3

julia> CairoMakie.mesh(coords, faces)

Expected result is a mesh with a single triangle.
Appreciate if you can take a look.

What's the error?

I'm closing this, since I don't think the situation can be improved substantially.
If there is a way to make to_vertices not ambiguous, a PR would be welcome ;)

Sorry I don't get it. This has been the standard example in the docs for months already: https://makie.juliaplots.org/stable/examples/plotting_functions/mesh/index.html
And I was relying on this behavior in MeshViz.jl to avoid fuzzing around with GeometryBasics.Point types.
I would strongly recommend the opposite: use built-in Julia types for end-user interfaces like Array an Tuple and only internally rely on types such as GeometryBasics.Point. Is there a different method that doesn't force the user to manually construct GeometryBasics.Point?

You mean end-users are supposed to use a type signature that is the final target after layers of preprocessing? I find it super strange to be honest.
I was able to fix the issue with a vector of SVector, which is a better fix in my opinion:
coords = [SVector(0., 0.), SVector(1., 0.), SVector(0.,1.))

Yeah people don't always agree about APIs...
I know you don't like the point types, but they're pretty basic Makie types, so you can't just expect to avoid them.
There are lots of other overloads, but for meshes Point should be the main entry point. With SVector you'll get more conversions/copies...

I think we disagree on the end-user API. It is completely fine to say that the final target signature uses Point. What is not fine in my opinion is force users to go to this level of detail to just plot a collection of coordinates + connectivity lists. A Julia user would just expect that a plotting library would accept tuples, arrays, etc.
So I retain my opinion that many Makie recipes should have overleads with basic tuples arrays, etc. It is about usability for most end-users out there. It is not an issue for people like you and me who know how to manipulate the internals.

Now that you say that, it does actually support tuples as well:
Makie.to_vertices([(0., 0.), (1., 0.), (0.,1.)])::Vector{Point}

and also x, y, z as separate arrays...
But for recipes, I prefer converting as quickly to the final type as possible, to avoid conversions ;)

Yes, now the final task is to make sure that all recipes in the project accept the same end-user representation. I thought that a matrix with coordinates in the rows was the canonical representation based on the docs of mesh. It is apparently buggy with a single triangle. Lesson learned, now I am using another canonical representation hoping things wont't break in the future again 🙏🏽


seg: check last_expired before iterating TtlBuckets

Currently, when expire is called, there is no check of when it was
last called. This will lead to unnecessary iteration across the
TtlBuckets.
Adds a last_expired field to the TtlBuckets struct and early
returns if expiration would be a no-op.

Offers a slight performance boost under replay traffic (~ 2%) with a multithreaded configuration.


Please change syntax to be more noticeable

Please, change the syntax from
#[update]
fn f(/*...*/) {
  // ...
}

to
#[update]
#[return_immediately]
fn f(/*...*/) {
  // ...
}

Give a warning if used old syntax.
This is because the first syntax deviates from the usual meaning of Rust functions (usual Rust functions never return before their body has finished executing) and can be too easily confused by a user with an async #[update] (or #[query]) function. This is just too much error-prone and the programmer needs to see that the function returns before its execution.
The current practice deviates from the sound Rust practice to be a reliable programming language.

I don't understand this. Functions never return immediately. If you make an inter-canister call, it won't return until the function finishes. The behavior is exactly the same for async functions.
You may be referring to making update calls from the agent side. In that case, it's up to the caller to decide if you want to call the endpoints asynchronously or synchronously. If calling asynchronously, it yields the control, and the agent has to poll to get the result, and you won't get the result until the function returns. If calling synchronously, it waits until the functions returns. Again, this is entirely up to the caller to decide how they want to make the call, it has nothing to do with the canister endpoints.

I don't understand this. Functions never return immediately. If you make an inter-canister call, it won't return until the function finishes. The behavior is exactly the same for async functions.

In Motoko, there are sync methods like this:
public shared func inc() : () { /*...*/ };

(note no async here). Such functions return immediately, before doing /.../ calculations (that may be done after the function returns).
It apparently translates to Rust as:
#[update]
func inc() { /*...*/ };

(note no async).

You may be referring to making update calls from the agent side. In that case, it's up to the caller to decide if you want to call the endpoints asynchronously or synchronously. If calling asynchronously, it yields the control, and the agent has to poll to get the result, and you won't get the result until the function returns. If calling synchronously, it waits until the functions returns. Again, this is entirely up to the caller to decide how they want to make the call, it has nothing to do with the canister endpoints.

This is unrelated.

It apparently translates to Rust as:
#[update]
func inc() { /.../ };

No, this is equivalent to public shared func inc() : async (). There is no one-way function attributes in Rust CDK.

There is no one-way function attributes in Rust CDK.

I request it to be implemented.


Prevent NullPointerException on GenericDaoBase

Description

Recently I had a few DB connection/transaction issues on a test environment and one of the log messages was the following NullPointerException:
2020-08-12 22:48:33,250 WARN  [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-1:null) (logid:) Caught:
java.lang.NullPointerException
        at com.cloud.utils.db.GenericDaoBase.update(GenericDaoBase.java:853)
        at com.cloud.utils.db.GenericDaoBase.update(GenericDaoBase.java:809)
        at com.cloud.utils.db.GenericDaoBase.update(GenericDaoBase.java:1365)

Looking further we can see that the null pointer was caused due to a null Object calling equals method. A simple fix would be to use the static final not-null Object calling the Object.equals method.
This PR also extracted the duplicated code that could cause NullPointerException and added unit tests to ensure that no NullPointerException will be thrown.
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[X] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos7 ✔debian.


feat: Add selectionBarGradient option to customize the selection bar

Add selectionBarGradient option which create a linear gradient for the selection bar. The option
accepts an object that contains from and to properties which are colors describing the gradient
Here's a fiddle demonstrating the feature: http://jsfiddle.net/masadow/cqk61f0a/
Additional note: There's room for improvement, for example, the ticks are not affected by the gradient. I think it's another feature but if someone feels like it's a good idea, feel free to give it a go.

Current coverage is 99.24% (diff: 12.50%)

Merging #473 into master will decrease coverage by 0.75%

@@           master       #473   diff @@
========================================
  Files           1          1
  Lines         921        929     +8
  Methods         0          0
  Messages        0          0
  Branches        0          0
========================================
+ Hits          921        922     +1
- Misses          0          7     +7
  Partials        0          0

Powered by Codecov. Last update 219df14...5808e4c

Why not just doing it via CSS?

It's not possible with the range slider. Or I don't see how without changing the whole DOM.
Btw, it seems like a test must be written to hit 100% of code coverage ?

Ok I understand now. Thanks for this pretty complete pull request. Indeed, you need to add tests to cover your changes. You can start from an existing one related to the selection bar. ;)

I'll write some test within the day and update my PR. Can I add another commit or should I git reset --soft HEAD~1 my current commit and create a new one ?

Adding another commit is OK ;)

The vertical reversed example is still broken:

There is a white part on top...

I made a mistake in the fiddle. I was not pointing to the right branch, please try with <script src="https://cdn.rawgit.com/Masadow/angularjs-slider/gradient-selection-bar/dist/rzslider.min.js"></script>

OK you are right. I think it is OK to merge it, I'll just need you to rebase on top of master to resolve the current conflicts (just the dist files).
For later, I just point out that the showSelectionBarFromValue doesn't work with the gradient but it'll be more complex to handle it I think: http://jsfiddle.net/o0x97L60/

That's fine for conflicts, I rebased on master already.
I agree about showSelectionBarFromValue, I partially handled it but I did not calculate the length of the background gradient. I thought I would not try to handle it since there are multiple design decisions to go from

Indeed, I don't even know how I would handle it, so that's fine for now.

Thanks for your contribution! :+1:

Released via 5.9.0


Fix submodule paths when AppSubUrl is not root (#11098)

Backport #11098
Fix #11002
Signed-off-by: Andrew Thornton<EMAIL_ADDRESS>

:rocket:


Here is a screenshot:
I found it is caused by width: 99% specified in App.js. Any reason for that value? I have put it 100% and remove the margin-left and it fixes the black border issue.
Not sure if it will have any other impacts. Please take a look.
Thank you.

Coverage remained the same at 87.356% when pulling b26bc3897187c651c3cc3d83ff84f455eacb0445 on brpaz:remove-black-border into c309a2fbe62904fc254396623a6888e028930e86 on vutran:develop.

It was set to 99% to allow some spacing on the side. That enabled us to have sharp edges on Mac systems.

@vutran yes, I thought that value was there for a reason. Still, It have that ugly effect on Linux.

I'm guessing we may have to toy around with Electron's BrowserWindow config to see if we can remove that black background.
If you have time, feel free to submit something that can fix this but preserve the option to have squared edges on Macs. Otherwise, I'll take a look at this issue this week to see what we can do to resolve that issue.

@brpaz I've published a PR #134 which should fix the issue with the black borders on Linux machines. Let me know if that branch works for you.

I think we can close this commit as this has been addressed in #134 to support both sharp/rounded edges.


Detect client disconnect on "backend" side

Is there any way to detect if client has disconnected? (something like raw websocket disconnect event)
Is nats server configuration / code modification required for this?
Or is there any other method to detect if nats.ws client disconnected?

Absolutely, take a look at https://github.com/nats-io/nats.ws#lifecycleinformational-events.
Note that by default the client will attempt to reconnect - see https://github.com/nats-io/nats.ws#connection-options more specifically maxReconnectAttempts, reconnect, waitOnFirstConnect. Also, you'll want want to handle a close promise resolving nc.closed().then(()=>{ console.log("client closed");}). When the client, closes, it will NOT reconnect.


[BUG] - Panic for Interim character

Context
Luhn is panicking when there is specific character within personnummer.
I'd say it's not handling interim characters properly but hard for me to know exactly what's going on.

Expected outcome
I am expecting that personnummer.Valid("12120111X3") returns false
Actual outcome
it panics at https://github.com/personnummer/go/blob/master/personnummer.go#L115

--- FAIL: TestCustom (0.00s)
panic: runtime error: index out of range [40] with length 10 [recovered]
	panic: runtime error: index out of range [40] with length 10

goroutine 34 [running]:
testing.tRunner.func1.2({0x10130d2c0, 0x14000262000})
	/opt/homebrew/Cellar/go/1.19.1/libexec/src/testing/testing.go:1396 +0x1c8
testing.tRunner.func1()
	/opt/homebrew/Cellar/go/1.19.1/libexec/src/testing/testing.go:1399 +0x378
panic({0x10130d2c0, 0x14000262000})
	/opt/homebrew/Cellar/go/1.19.1/libexec/src/runtime/panic.go:884 +0x204
github.com/personnummer/go/v3.luhn(...)
	...temp/personnummer/personnummer.go:115
github.com/personnummer/go/v3.(*Personnummer).valid(0x1400024e000)

Test case
func TestCustom(t *testing.T) {
	assert.Equal(t, false, Valid("12120111X3"))
}

Thanks for the bug report, i'll take a look when I have time. Feel free to send a pull request :)

Fixed in 3.1.1.
The code for interim worked fine, but 12120111X3 is an invalid interim number since the X is in the wrong position and that's the reason luhn failed. It's now fixed.
A correct interim number looks like this 20000101T220 (long format) or 000101T220 (short format).


Remove Content Layer paragraph from all pages and work in progress div

Description

Here ContentLayer Link is Broken Because there is not route specified for the link in the code

Here in the code link is specifed but its is not present in the current directory of files

Remove Content Layer paragraph from all pages and work in progress div
We don't need them right now, we have created separate nav link for that

can i work on this issue sir?
assign it to me ... :)

@Vishal-raj-1
I found this in 3 files which are

\Official-Website\content\batch\hire\hire.mdx
\Official-Website\content\docs\index.mdx
\Official-Website\content\batch\learn\index.mdx

I have removed it on my local. Can you please assign it to me so that I can create a PR for the same.

#138
Hi @Tanmay-Joshi73 , @Vishal-raj-1
I fixed the issue, please review the raised PR.
Merge Request


Non-rooted devices

Will this work on non-rooted devices?

No, this is an Xposed module which cannot be installed without root access.

Are you sure? I haven't grant it root access and it's working fine.

What YouTube version do you have? Mine doesn't work?
On 5 May 2016, at 1:38 am, Bec-de-Xorbin <notifications<EMAIL_ADDRESS>wrote:
Are you sure? I haven't grant it root access and it's working fine.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/pylerSM/YouTubeBackgroundPlayback/issues/150#issuecomment-217048066


Add icon to show connection status to game/phone controller similar to USB connection

3 states: connected to game controller, phone controller, disconnected

As discussed, we will not do this for now.


Improve ordering of @mention suggestions

This is an enhancement related to the bug in #2007. I frequently either almost pick or do pick the wrong person with $first_name in the drop down because the one I want isn't at the top.
There are a few relatively simple heuristics that could make this less likey. For example:

if replying with a selected message, prioritise that message's author
prioritise recent participants in the topic
prioritise recent participants in the stream

There are less simple things like using my past mentions to seed the list. This may require extra per user state, and certainly per user processing. The above ones are just based on the view the user has.
(As a workaround, I've ended up learning some unique substrings in the full name + email address of people I mention frequently and won't show up near the top with a prefix.)

I think all of these things can be done entirely in frontend code (because we have 1000+ messages of message history cached), and seem like pretty reasonable enhancements.
The code for how we do autocomplete in the compose box is in static/js/composebox_typeahead.js, and I think each of these ideas would be a fine project for a new frontend contributor.

Just prioritizing stream subscribers would help a lot on the Zulip instances I frequent.

I implemented @kevinr suggestion in this PR https://github.com/zulip/zulip/pull/2806

Now that #2806 is done, I think this issue feels not super actionable and thus not likely to be resolved.  So I wrote up the main remaining specific improvement we have in mind in https://github.com/zulip/zulip/issues/4249 and am closing this.  Thanks for the thoughts everyone, and I encourage you to comment there!


Install Extension:PdfHandler, ImageMagick, Ghostscript and Xpdf

Installs ImageMagick, which is the preferred method of handling image files with MediaWiki (rather than the PHP built-in GD). ImageMagick also provides the additional capabilities of:

Rendering SVGs (though there may be better options, see #117)
Rendering PDFs as images (using Ghostscript and Xpdf via the PdfHandler MediaWiki extension).

Installation of ImageMagick is done from source, since the version available via yum is inadequate (see #18) and no suitable RPMs were available. Ghostscript is installed via yum. Pre-built executables are downloaded for Xpdf.
Closes #18

I ran this last night. I only did identify logo.gif to test, but it did spit back some data. I didn't see any glaring errors. So it seems to have built and installed correctly.

I ran the full make check last night and it worked (though a few of them took a really long time). That was against my manual install, though. Going to run it against the scripted install that ran overnight in a little bit. Also thinking I'll test it with Extension:PdfHandler, and maybe roll it all into install.sh.

Completed make check tests from install via install-imagick.sh. All passed. One issue with script: downloads and un-tars are not put in the right place. Fixing...

See branch imagick-merged, which merges the ImageMagick install script into the install.sh procedure. Additionally, this installs Extension:PdfHandler, which is one of the main drivers to installing ImageMagick in the first place (and the only driver for Ghostscript and Xpdf-utils).
This branch is currently being tested, then will be merged into this pull request.

Test passed with PdfHandler. Recommending merge. Tested one PDF: http://<IP_ADDRESS>/wiki/index.php/File:SMWCon_Fall_2014_-_Approved_Revs_v1.0.pdf

The link in the previous comment was wrong. This is the PDF I tested:
https://semantic-mediawiki.org/wiki/File:SMWCon_Fall_2014_-_Approved_Revs_v1.0.pdf

Test passed. PdfHandler works.


Handle WireGuardError::ConnectionExpired

In wg.rs when an WireGuardError::ConnectionExpired is encountered, the error is just being logged.
https://github.com/aramperes/onetun/blob/85195d8aba2cad41b648d693044b364ab906bcf0/src/wg.rs#L123
It would be much better if this error was handled and the connection re-established.

Looks like boringtun closes the UDP socket when this happens. I suppose we'd have to reopen a new one and reinitialize Tunn.
PR is welcome, otherwise I'll address this when I have time


The editor is not responding.

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
In many different cases the Atom editor will report "The editor is not responding" shortly after launch.
Steps to Reproduce

Upgrade Atom
Launch Atom

or

Update Windows
Launch Atom

or

Update packages
Restart Atom

Expected behavior:
Atom should open properly
Actual behavior:
Atom freezes during the load and then says "The editor is not responding."
Reproduces how often:
Probably 50-75% of Atom upgrades. 100% of major Windows upgrades (Creators Update was the last one that caused it). 10% of package upgrades.
Versions
Atom 1.16.0
Windows 10 Pro x64 (Creator's Update)
Additional Information
atom --clear-window-state resolves this 100% of the time for me when it occurs.

Just trying to get more info - do you remember if you started seeing this behavior at a particular release version of Atom?  Sounds like you've hit this at least for every other release.
Also, you mentioned using atom --clear-window-state which fixes things for a while, but have you also tried temporarily resetting to factory defaults and trying to reproduce?  Though based on your description it doesn't seem super straightforward to try and reproduce though.

I don't remember when it started but it's been going on for at least 6 months. I've never tried resetting to factory defaults. I can try that next time it happens.

Firstly, I'm sorry for my poor English. I meet this problem too. And it occurs too frequent!!! I'm using atom in Archlinux(with i3wm). However, if I run atom with the option --safe, it will not happen.
I install several Community Packages.
There is the list:

autocomplete-clang 0.11.3
clang-format 1.29.0
gpp-compiler 3.0.7
linter 2.1.4
intentions 1.1.2
linter-ui-default 1.2.4
busy-singal 1.4.1
linter-clang 4.1.1
vim-mode 0.66.0

I'd like to know whether there are some packages incompatible.

@Prgwf This is a Windows issue.  Can you please open a new issue instead so that we can investigate yours separately?  Thanks!

Hi there, I am experiencing this as well. I did not see the connection between the freezes and window updates, but it matches what I have seen.
I have switched to the beta branch last time (1.17.0-beta5 x64) in the hope that it would solve, but it did not. I will be happy to test things as well, if you have a good idea:-)
Mads

System Macbook Pro
macOS Sierra V10.12.5
I have just upgraded PlatformIO IDE to 2.0.0-beta,6, Core 3.4.0rc1
Atom reports 1.18.0 x64
I opened one of the sample apps for ESP32 and ...

I have disabled spell checking.
Here is the dump from the activity monitor for the Atom Helper that is using the time:
cwd / txt /Applications/Atom.app/Contents/Frameworks/Atom Helper.app/Contents/MacOS/Atom Helper txt /Applications/Atom.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework txt /Applications/Atom.app/Contents/Frameworks/Squirrel.framework/Versions/A/Squirrel txt /Applications/Atom.app/Contents/Frameworks/ReactiveCocoa.framework/Versions/A/ReactiveCocoa txt /Applications/Atom.app/Contents/Frameworks/Mantle.framework/Versions/A/Mantle txt /Applications/Atom.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib txt /Applications/Atom.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libffmpeg.dylib txt /Applications/Atom.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/en.lproj/locale.pak txt /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI txt /usr/lib/libexpat.1.dylib txt /Applications/Atom.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/natives_blob.bin txt /usr/share/icu/icudt57l.dat txt /Applications/Atom.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/icudtl.dat txt /usr/lib/dyld txt /Applications/Atom.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/snapshot_blob.bin txt /Applications/Atom.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/content_shell.pak txt /System/Library/Extensions/GeForceTeslaGLDriver.bundle/Contents/MacOS/GeForceTeslaGLDriver txt /System/Library/Extensions/GeForceTeslaGLDriver.bundle/Contents/MacOS/libclh.dylib txt /private/var/db/dyld/dyld_shared_cache_x86_64 0 /dev/null 1
HTH

Thanks @ozarchie :v: - this particular issue is about Windows so if you see this error in safe mode (atom --safe), feel free to open a new issue and fill out the issue template so we can take a look.

Try disabling the Spell Check package per the link below.
https://github.com/atom/atom/issues/14739
Lots of reported success...  including me, just now.

Had the same issue after trying to open a big file in a directory with many files.  Could start to use atom again by executing atom --clear-window-state

In Atom 1.26.0 x64 on Windows 10 Pro I opened Atom to my last project. (Let's call it "Project X".) It immediately hangs, and eventually there is a message saying, "Editor is not responding", "The editor is not responding. Would you like to force close it or just keep waiting?"
I can force-close it as often as I like, but it still freezes when after startup.
I can open up another Atom instance to another project (while the first one is waiting to be force-closed), and it doesn't freeze.  (I am using the project-manager plugin.)
"Project X" has 11 tabs open (which I consider to be a medium amount; any editor should be able to handle that). Interestingly if I start selecting text in an open document while Atom is still loading "Project X", you can see the point that it freezes, as the mouse selection will just stop and there will be no further response.
I'm sort of stuck now.

Ack! After running atom --clear-window-state Atom no longer hangs—but I lost all my open windows. 😢 Not happy.

Hi
I have for the last couple of weeks started experiencing the same kind of problem. I am running on ubuntu 18.04 with initial version of Atom being 1.28.1 when the problem started appearing. Currently I am using Atom 1.28.2, after an upgrade just now.
(This is a workplace installation, so I have to be brief and have to resort to emergency clean-up so I can continue working on my tasks)
I have read some of the comments and read a little in the Debugging section in the Documentation, so I have found the "--clear-window-state" solution.
But before I do that, I will try to make a backup of the .atom directory, to try and save the current state to be able to reproduce the bug. (I am a fulltime developer, so I can help debug the code and resolve the matter, eventhough I am quite new at modern javascript)
So question number 1

I am assuming tarballing $HOME/.atom is enough to keep the state, so I can debug the problem? If not please yell out as fast as you can, maybe I can see uit before resetting the atom state (its a far cry, but none the less)

Question number 2

Is there any other information available on this or similar cases anyone know of, which is not linked in this issue, or not written in the debugging documentation or the prerequisites section at the beginning of this issue?

I like the idea of atom and I hope I might help debug the issue and get rid of it. I prefer to get to know Atom better as a IDE for frontend projects of bigger size, but if not I might have to switch to Intellij (which is a good tool, just bored with it and its inherent java community at work)
Regards
Thomas

Update on reproducing the failure
I have testet the following command line arguments, with no effect on the problem
$ atom --safe
$ atom --disable-gpu
$ atom --safe --disable-gpu
$ atom --safe --enable-gpu-rasterization --force-gpu-rasterization
But the I noticed that I could use the editor as long as I stayed away from one specific, window, whenever I try to switch to the window with that file, it hangs...
One other thing I also notice is that when atom starts up there are to warning boxes appearing on top of each other in the top right corner, the first one is disappears so fast I cant read what it says, is there a log file somewhere where these messages are logged?
The second is for the issue "length undefined (https://github.com/atom/atom/issues/16892)
So, I will save a copy of the local git repo, containing the specific file that seems to cause the problem as well as making a backup up $HOME/.atom

@tfinneid

Is there a log file somewhere where these messages are logged?

If it's not in dev tools already, this will print all warning and error notifications (run it in dev tools)
atom.notifications.getNotifications().filter(n => n.type !== "info")

making a backup up $HOME/.atom

Renaming (e.g., to .atom-old) should have the same effect. Atom will ignore it, and make a new .atom folder.
On a different note, this issue seems to be for Windows. You will probably be asked to make a new issue.

@Aerijo, of course the developer tools console... I forgot that atom is running on chromium... thanks

Does Atom have control over the "Editor is not responding" window, or is that an operating system window?  Got one today, and it would be nice to have a third option to "restart with clear window state".


chore(docs): run sphinx-apidocs

Summary by Sourcery
Enhance documentation formatting and readability, add resource limits and security context configurations to Kubernetes templates, update ingress configuration to 'networking.k8s.io/v1', and introduce new unit tests, OpenAPI specification, Python models, Kubernetes client wrapper, taskmaster script, and example input JSON file.
Enhancements:

Update documentation formatting in 'local_ftp.md' and 'README.md' for better readability and consistency.
Add resource limits and security context configurations to the Kubernetes deployment templates.
Update Kubernetes ingress configuration to use the 'networking.k8s.io/v1' API version.

Documentation:

Add badges to 'README.md' for code coverage, documentation status, license, Python version, development status, contributors, and security tools.
Update 'README.md' to improve structure and readability, including better formatting and links.

Tests:

Add unit tests for the 'Job' class in 'tests/test_unit/test_services/test_job.py'.

Chores:

Add OpenAPI specification file 'task_execution_service.117cd92.openapi.yaml' for the Task Execution Service API.
Add new Python models for the TES API in 'tesk/api/ga4gh/tes/models.py'.
Add new Kubernetes client wrapper in 'tesk/api/kubernetes/wrapper.py'.
Add new taskmaster script in 'tesk/services/taskmaster.py'.
Add example input JSON file 'docs/examples/inputHelloWorld.json'.

#201 should be merged first.

closing as #201 got this covered.


Update Jquery version in Trickster to greater than 3.5.0

Hi team, we are using the latest container image available in dockerhub tricksterio/trickster:latest
Currently it seems trickster is using jquery 3.3.1. If I traverse the /graph endpoint I can see the below

If possible please upgrade the jquery version being used to > 3.5.0. As this is getting flagged as vulnerable in PCI Audit Scans. You can find the vulnerabilities for jquery published here: https://snyk.io/vuln/npm:jquery. Jquery versions <3.5.0 are vulnerable to cross-site scripting attacks.

Hi @envy7 Trickster is a golang application and does not use jQuery (javascript). Trickster is a proxy, which means all static content (including javascripts) is served from an upstream source that it accessed on the caller's behalf (eg., a Prometheus backend, which does have a /graph endpoint). So if your systems are flagging Trickster as vulnerable, you will need to look at the backend origins and patch those.

Thanks for the information @jranson understood, will try to patch the prometheus backend instead.


Revert "Backport of gossip improvements to v0.10"

Reverts paritytech/substrate#1894

cc @rphmeier missed the onice tag. reverted now but you'll need to reopen the original PR.


Output contains "doors"

Heyho,
I'm running voice2json via docker on an M1 Mac. I used multiple .wav files, all produced by Davinci resolve, all in English in perfect audio quality. I can't upload the .wav files directly, but the episodes are published via .mp3 here. And every time I get an output with something regarding doors and lights... I'm very confused :D
{"text": "off open green open the living set on off hot set me door the door set to set temperature open the green open hot open living room lamp whats lamp hot how tell tell lamp set living turn is it door open set tell the set to is garage door open is it living me it whats it to red blue whats the temperature living blue me cold is it lamp off the living set cold make set lamp me whats door how hot is red on whats how off it turn off tell whats how whats turn the living what off garage light red living off is how on how turn on the living turn time living open to the on whats how lamp set to whats set what blue off closed whats the temperature is it living make room lamp whats me tell lamp cold room on time on whats room on off open door closed garage door open set turn off on whats the on time open make set on red the on living the what is it cold hot on on light to light to how blue green set living closed garage whats to the off the is light tell make bedroom light blue whats turn off tell door whats blue set living make the living room lamp the off red is lamp whats set living room lamp how temperature on the is is the time to off make the is is it open on cold it how hot on the the open closed living tell me on whats light to open closed red cold open cold is is what door it lamp cold the turn set garage make garage garage is cold bedroom living how on the open cold is on to living turn off open what turn off off hot is the door closed living garage whats red the me set the garage on the what is it green how blue off off whats time light the is on living garage light is it on turn off light it lamp turn it living room lamp off the whats it on living cold is the garage door set on living how the", "likelihood": 1, "transcribe_seconds": 9.57908892100022, "wav_seconds":<PHONE_NUMBER>, "tokens": null}

Do you have any idea what the problem could be? Thank you!
Luka

By default, voice2json only transcribes sentences from sentences.ini (pre-trained). Use open-ended transcription instead.
Keep an eye out for Rhasspy3, which will have support for Whisper :slightly_smiling_face:


on open vscode

Which OS are you using?
MacOS
Expected Behaviour
no error
Actual Behaviour
...
I also see the following error:
[2023-03-09 10:35:46] |   ERROR   |         Git        | fatal: not a git repository (or any of the parent directories): .git

Reproduction steps

Go to '...'
Click '...'
See error '...'

Additional Notes
No response
Log
No response

Please see https://github.com/LuaLS/vscode-lua/issues/81 and confirm your version 🙂


Remove asyncs from index.d.ts

asyncs in class declarations produce folloding errors:
node_modules/react-native-background-actions/lib/types/index.d.ts:53:5 - error TS1040: 'async' modifier cannot be used in an ambient context.

53     async updateNotification(taskData: {
       ~~~~~

node_modules/react-native-background-actions/lib/types/index.d.ts:82:5 - error TS1040: 'async' modifier cannot be used in an ambient context.

82     async start(task: (taskData: any) => Promise<void>, options: {
       ~~~~~

node_modules/react-native-background-actions/lib/types/index.d.ts:117:5 - error TS1040: 'async' modifier cannot be used in an ambient context.
117     async stop(): Promise<void>;
        ~~~~~

Found 3 errors.

This compilation error is totally valid, as async modifier is needed for function implementation only. For function declarations it is enough to mark it as returning Promise.

@egorshulga, thanks for your PR! However, index.d.ts cannot be directly modified since it is dynamically created on release by TypeScript. Take a look at declaration:build script on package.json.
If you are experiencing compilation errors, you might need to upgrade your TypeScript version.

Hm, didn't notice, will take a look. Thanks!

Do I understand it correctly, that .d.ts are created from .js sources?

@egorshulga, indeed! TypeScript offers the possibility to create declaration files either from JS or TS. It uses JSDoc to know the types of parameters, variables and return values.

Anyway, why does it add asyncs? 🤔 Trying to investigate

@egorshulga, I don't know. If you find out, comment on this PR! I would like to make the declaration file as backward compatible as possible.

Hm, that's strange, I cloned the repo, run npm run declaration:build, and there occurred some changes in index.d.ts. Is there an automatic process for definitions generating, or we can just regenerate it once again and commit into the repo?
I can see that in the newly generated definitions asyncs are gone 😄

@egorshulga, what TypeScript version are you using?

npm scripts pick up typescript from devDependencies, so it's 3.8.2

@egorshulga, it looks like it is fixed in TypeScript v4. I have created another pull request that solves your issue: #53

Cool, thanks!


RISC V support?

Does this task going to be complicated?
Any chance that newcomer like me could manage doing this by textually replacing  arm by riscv?

In theory it should be as easy as adding a line like the following, but for pkgsCross.riscv64 instead:
https://github.com/nix-ocaml/nix-overlays/blob/9d44308f7703b483711735e6004d1be201ed5eab/overlay/default.nix#L53-L54

Seems to work. I tried locally with doi2bib:
$ nix run nixpkgs#file -- ./result/bin/doi2bib
./result/bin/doi2bib: ELF 64-bit LSB executable, UCB RISC-V, RVC, double-float ABI, version 1 (SYSV), dynamically linked, interpreter /nix/store/fx1zc87vxzmfm3yk4x4wwmwg21xnc6pn-glibc-riscv64-unknown-linux-gnu-2.37-8/lib/ld-linux-riscv64-lp64d.so.1, for GNU/Linux 4.15.0, not stripped

How did you tested it? I added a few lines to flake.nix inside nat2bit but got a compilation issue about stdup while building a compiler...
https://gist.github.com/Kakadu/942b309e1910ef332b3e44ba95e58909

Same setup as https://github.com/mseri/doi2bib/pull/24, just changed the crossName to “riscv64”

Same setup as mseri/doi2bib#24, just changed the crossName to “riscv64”, and got the package set from pkgsCross.riscv64

I did (I think) what you said, but compilation error about stdup is still here...
https://gist.github.com/Kakadu/2dfce256d756c537aab51eb9dfe3bf68
I also tried to copy-pate findlib's attribute from arm64-musl version to riscv64, but I get another error. Does overriding of OCAMLFIND_CONF is the source of my stdup issue?
       … while evaluating attribute 'OCAMLFIND_CONF' of derivation 'ocaml4.14.1-doi2bib-n-a-riscv64-unknown-linux-gnu'

         at /media/work/nix/store/kr39ms4h2kd91yxf84yjng5q20aqs2bl-source/flake.nix:51:15:

           50|             }).overrideAttrs (o: {
           51|               OCAMLFIND_CONF = pkgs'.ocamlPackages.findlib.makeFindlibConf native o;
             |               ^
           52|             });

       error: attribute 'makeFindlibConf' missing

       at /media/work/nix/store/kr39ms4h2kd91yxf84yjng5q20aqs2bl-source/flake.nix:51:32:

           50|             }).overrideAttrs (o: {
           51|               OCAMLFIND_CONF = pkgs'.ocamlPackages.findlib.makeFindlibConf native o;
             |                                ^
           52|             });

you'll probably want to nix flake update to get the newest version of this repository.

Thanks! I managed to compile this!