feat: use uv and pyproject.toml

Experimental PR to demonstrate what dependency management might look like with uv, pyproject.toml and tox-uv for charms.

In this case, I've chosen to check in the requirements.txt that is generated, and introduce a CI check that ensures it's in sync with uv's lock file as part of the lint stage.
This should make it easier for people to use plain Python virtualenv's without installing uv (or poetry), should they wish.

I'm always a little squeamish about lines like this:
curl -LsSf https://astral.sh/uv/install.sh | sh

Is there a reasonably alternative way to install uv that uses more standard channels?

I'm always a little squeamish about lines like this:
curl -LsSf https://astral.sh/uv/install.sh | sh

Is there a reasonably alternative way to install uv that uses more standard channels?

There is a snap, which we'd probably want to use, but isn't quite stable yet (@lengau)

🤔 I've tried tox/uv integration a month ago, and I couldn't get it to work.  Updated to use the snap, which is much cleaner.
I've also started to use uv tool run rather than uv run in some cases - I've only omitted to use the uvx alias as that's not automatically created by the snap (yet?).
Last attempt switches to using a Makefile. At this point, tox wasn't providing much value.


Add Past Webinar Videos

Description

Add placeholder for videos on the /webinar page
Add the YouTube video ID for yesterdays Webinar video

Checklist

[x] I have read the contribution guidelines
[x] I have considered the performance impact of these changes
[-] Suitable unit/system level tests have been added and they pass
[-] Documentation has been updated

Verified locally, looks great. Thanks @joepavitt


ARROW-7333: [CI][Rust] Remove duplicated nightly job

We run the same test on each push with GitHub Actions.

@andygrove @sunchao @nevi-me Do we want to run test with both nightly-2019-09-25 and nightly-2019-11-14? Is it enough that we run test only with nightly-2019-11-14?

I would say just nightly-2019-11-14, hopefully we can get back on stable at some stage.

Also prefer one nightly

@kou can we piggy-back off this PR to remove the AppVeyor Rust job, or should I create a separate PR?

Sure. :)
It's trivial. We don't need additional JIRA issue.
Done.


Could not open library 'lib.so': lib.so: cannot open shared object file: No such file or directory

Trying to run Jekyll, I get this error:
/usr/lib/ruby/gems/1.9.1/gems/ffi-1.0.11/lib/ffi/library.rb:121:in `block in ffi_lib': Could not open library 'lib.so': lib.so: cannot open shared object file: No such file or directory (LoadError)
	from /usr/lib/ruby/gems/1.9.1/gems/ffi-1.0.11/lib/ffi/library.rb:88:in `map'
	from /usr/lib/ruby/gems/1.9.1/gems/ffi-1.0.11/lib/ffi/library.rb:88:in `ffi_lib'
	from /usr/lib/ruby/gems/1.9.1/gems/rubypython-0.5.3/lib/rubypython/python.rb:29:in `<module:Python>'
	from /usr/lib/ruby/gems/1.9.1/gems/rubypython-0.5.3/lib/rubypython/python.rb:21:in `<top (required)>'
	from /usr/lib/ruby/gems/1.9.1/gems/rubypython-0.5.3/lib/rubypython.rb:261:in `load'
	from /usr/lib/ruby/gems/1.9.1/gems/rubypython-0.5.3/lib/rubypython.rb:261:in `reload_library'
	from /usr/lib/ruby/gems/1.9.1/gems/rubypython-0.5.3/lib/rubypython.rb:104:in `start'
	from /usr/lib/ruby/gems/1.9.1/gems/pygments.rb-0.2.12/lib/pygments/ffi.rb:8:in `start'
	from /usr/lib/ruby/gems/1.9.1/gems/pygments.rb-0.2.12/lib/pygments/ffi.rb:82:in `highlight'
	from /home/user/octopress/plugins/pygments_code.rb:24:in `pygments'
	from /home/user/octopress/plugins/pygments_code.rb:14:in `highlight'
	from /home/user/octopress/plugins/backtick_code_block.rb:37:in `block in render_code_block'
	from /home/user/octopress/plugins/backtick_code_block.rb:13:in `gsub'
	from /home/user/octopress/plugins/backtick_code_block.rb:13:in `render_code_block'
	from /home/user/octopress/plugins/octopress_filters.rb:12:in `pre_filter'
	from /home/user/octopress/plugins/octopress_filters.rb:28:in `pre_render'
	from /home/user/octopress/plugins/post_filters.rb:112:in `block in pre_render'
	from /home/user/octopress/plugins/post_filters.rb:111:in `each'
	from /home/user/octopress/plugins/post_filters.rb:111:in `pre_render'
	from /home/user/octopress/plugins/post_filters.rb:166:in `do_layout'
	from /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/lib/jekyll/post.rb:189:in `render'
	from /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/lib/jekyll/site.rb:193:in `block in render'
	from /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/lib/jekyll/site.rb:192:in `each'
	from /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/lib/jekyll/site.rb:192:in `render'
	from /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/lib/jekyll/site.rb:40:in `process'
	from /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/bin/jekyll:250:in `<top (required)>'
	from /usr/bin/jekyll:19:in `load'
	from /usr/bin/jekyll:19:in `<main>'

I am having the same issue on ArchLinux. It appears to be a problem in the initialize function in the PythonExec class. On systems where the Python executable (reported by sys.executable) is something like /usr/bin/python2.7, the test:
if (@realname !~ /#{@version}$/ and @realname !~ /.exe$/)
fails, meaning that the Python version (excluding the separating period) is appended to the name of the executable. This leads to the @basename field having the erroneous value python2.727 on my system.

Does this bug still occur in version 0.6.2?

(Reply via aati...@gmail.com):
I was getting that error trying to use another ruby based script. Since, I don't use it now, I am unaware of this.

Gentoo 64bit also having this error with Jekyll/octopress. I tried to locate lib.so it doesn't find it. Using Python 2.7 in my eselect slot

To run jekyll successfully, I did this. If all you need is to do run jekyll then use this diff (patch file pythonexec.rb in gems/rubypython-0.5.3/lib/rubypython).
--- pythonexec.rb.old   2012-08-08 18:10:53.158118388 +0530
+++ pythonexec.rb       2012-08-08 18:10:56.296118290 +0530
@@ -23,7 +23,7 @@
       @realname = "#{@python}#{@version}"
     else
       basename = File.basename(@python, '.exe')
-      @realname = File.join(@dirname, "#{basename}#{@version.gsub(/\./, '')}")
+      @realname = "/usr/bin/python2.7" #File.join(@dirname, "#{basename}#{@version.gsub(/\./, '')}")
     end
     @basename = File.basename(@realname)

Sadly, I don't know Ruby to fix the line which is causing the bug, so I applied this static fix.

Loading python has been changed since 0.6. Does this still apply?


Parse error in function type aliases when line is split

type Fred = (a: string) => number

parses (and is left alone, as it is valid TypeScript), but neither of
type Fred =
    (a: string) => number

nor
type Fred
   (a: string) => number

parses (even though the first is valid TypeScript as it stands).

Should be fixed in 0.6.50. Thanks for the report, and sorry for the delay!


Doesn't split tall pges

Steps to reproduce
All the chapters i download doesn't get split
Expected behavior
It should split tall pages when downloaded
Actual behavior
It just downloads them as is
Crash logs
No response
Yōkai version
<IP_ADDRESS>
Android version
Android 6
Device
Condor p6 plus
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, or a request for an extension, I should be contacting the extensions repository's maintainer/support for help.
[X] I am reporting an issue exclusive to this fork. I have also checked that is not an issue on the main version of Mihon
[X] I have tried the troubleshooting guide.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I have filled out all of the requested information in this form.

Already been fixed on 1.8.5 (https://github.com/null2264/yokai/commit/d19aca3e0b2c3c4c4d8b312731b937da7c3a1301). Will release soon


Vesting not working properly

Both for the Life Time member and his referrer.
https://bitsharestalk.org/index.php/topic,19961.msg256350.html#msg256350

Also.. someone suggested this may be due to the fee SCALE being ignored when doing the calcs.

Three different referral system bugs have been identified:  #449 #453 #455 .  Closing, as discussion should move to those tickets.


Support databases as sources

Wrapping JTS-SQL and JTS-BigQuery will allow to read tabular data from these sources as well.

TBH I was always seeing it as the last step  on tabulator way to be a swiss army knife for tabular data. Will add soon it's pretty simple for sql. But we should use only sqlalchemy not ts-plugins.
So 👍


RayTracing example: incorrect TLAS build sizes

This error is thrown by the validation layer thrown on Vulkan 1.3.280.0.
VUID-vkCmdBuildAccelerationStructuresKHR-pInfos-03675(ERROR / SPEC): msgNum: 236203393 - Validation Error: [ VUID-
vkCmdBuildAccelerationStructuresKHR-pInfos-03675 ] Object 0: handle = 0x213578fc5f0, type = VK_OBJECT_TYPE_COMMAND_BUFFER;
Object 1: handle = 0xad937b0000000080, type = VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR; | MessageID = 0xe142d81 | vkCmdBuildAccelerationStructuresKHR():

pInfos[0].dstAccelerationStructure  was created with size (1024), but an acceleration structure build with corresponding
ppBuildRangeInfos[0] requires a minimum size of (1536). The Vulkan spec states: For each pInfos[i], dstAccelerationStructure must have
been created with a value of VkAccelerationStructureCreateInfoKHR::size greater than or equal to the memory size required by the
build operation, as returned by vkGetAccelerationStructureBuildSizesKHR with pBuildInfo = pInfos[i] and with each element of the
pMaxPrimitiveCounts array greater than or equal to the equivalent ppBuildRangeInfos[i][j].primitiveCount values for j in
[0,pInfos[i].geometryCount) (https://vulkan.lunarg.com/doc/view/1.3.280.0/windows/1.3-extensions/vkspec.html#VUID-
vkCmdBuildAccelerationStructuresKHR-pInfos-03675)
    Objects: 2
        [0] 0x213578fc5f0, type: 6, name: NULL
        [1] 0xad937b0000000080, type:<PHONE_NUMBER>, name: NULL

I have no idea how to fix this at this moment. Vulkan just got out of control...

Provide number of triangles to vkGetAccelerationStructureBuildSizesKHR. Not sure if that is the correct thing to do but Khronos extended_raytracing sample is doing the same. Commit: 21ad70f


Add support for state-wise charts

Type of PR

[x] Bugfix
[ ] New feature

Relevant Issues
Fixes #80
Checklist

[x] Compiles and passes lint tests
[x] Properly formatted
[x] Tested on desktop
[x] Tested on phone

Screenshots

@KrishnaPravin doesn't work on firefox :( Also, the shortcut button colors need some change :) Else, it's fab! Look neat on mobile and brings in some useful features for people to navigate.

Rebased.
@bee-rickey Working on Firefox now

@shuklaayush was the issue in firefox due to moment and date object mix?

@KrishnaPravin No, moment wasn't able to parse the date coming from the API


Supporting Kicking Curve LP Auctions

Supporting kicking curve lp (and charter later) auctions more easily with kick_auctions.sh script (or a similar one if we can't integrate it nicely there). The reason for it not to be currently supported seamlessly is that cropper and charter use the cdp registry (and not the the cdp manager).

https://github.com/makerdao/dss-simulation-scripts/pull/8

Pending review from godsflaw


Some Bace transformations failing due to validate endstate energies

File "/home/brucemah/miniconda3/envs/omm_source/lib/python3.6/site-packages/perses-0.5.1-py3.6.egg/perses/tests/utils.py", line 784, in validate_endstate_energies
assert abs(nonalch_one_rp - alch_one_rp + subtracted_energy) < ENERGY_THRESHOLD, f"The one state alchemical and nonalchemical energy absolute difference {abs(nonalch_one_rp - alch_one_rp + subtracted_energy)} is greater than the threshold of {ENERGY_THRESHOLD}."
AssertionError: The one state alchemical and nonalchemical energy absolute difference 0.00028245274916116614 is greater than the threshold of 0.0001.

I am seeing the endstate energy fail for gaff-2.1.1, for a bunch of pairs of ligands for Bace. These edges have run fine with the openff-1.0.0
It also seems like it's passing for the complex and solvent phases (which should be the harder test??) and failing for vacuum. For 21 edges, and seems to be between 0.00017 and 0.00028, when the threshold is 0.0001.
Also --- it always seems to be failing at lambda=one state. I can't see any pattern in the ligands that are lambda=1, or any pattern in the edges that fail.
Errors are in /data/chodera/brucemah/relative_paper/perses050/bace/gaff-2.11

Things that are weird: always lambda=1, complex+solvent are fine, edges are random, off is fine. I'm going try with gaff-1.81 and see what happens, otherwise I will print out an off vacuum file and a gaff vacuum file and do spot the difference.
@dominicrufa will you remind me how I figure out what energy term the difference is coming from?

It looks like the same edges fail with gaff-1.81

Thanks! I suspected this might happen.
Can you dump system and state XML files for the hybrid and endstates systems? It's easiest to debug this from there.

My bad - it is in the complex phase.

 The second one is 0.0 but not sure where it comes from

Why are there two CustomBondForce in the Alchemical state? The second one is 0.0 but not sure where it comes from

there is a custom bond force for core-core bonds as well as a custom bond force for nonbonded exceptions that are interpolated.  can you make sure you are validating theses endstates with a Reference platform in the validate_endstate_energies function?
also, for clarity, it is failing in all three phases?  if so, could you try to parametrize one of the failing ligands in the Protein Mutations PR and post the readout from the validate_endstate_energies function, as well as the output of the FFAllAngleGeometry engine in the forward and reverse directions found here: https://github.com/choderalab/perses/blob/b8c60e45b4798d099cad9624813bc57e02e0aa00/perses/rjmc/geometry.py#L725

the idea is that we can look at the valence corrections and the hybrid system forces and validate each force object (or pairs of force objects) separately.

@hannahbrucemacdonald : I don't think we will learn much from comparing the individual Force components for the alchemical and non-alchemical states, since the force terms get recoded in such complicated ways.
Instead, we first need to know which of the original unmodified Force classes is responsible to help us know where to look. I'd extend the test so that if it fails, it cycles through each force class type of the original system and only includes that force class (bonds, angles, torsions, LJ, LJ+electrostatics) of the original A and B systems to try to identify the source of the discrepancy in the test. This can be easily done with just feeding arguments to SystemGenerator:
https://github.com/openmm/openmmforcefields/blob/master/openmmforcefields/generators/system_generators.py#L140
Note that we would do this for the original A and B systems, and then feed them into the hybrid alchemical factory and test the discrepancy.
That is, we would zero out everything but the bonds for A and B real systems and then feed them into the test. Then we do it with the angles, and so on.

I noticed that there are many more torsion terms in the OFF system than the GAFF one, but haven't nailed down yet which torsion terms these are.
system_generator.torsions = False # will zero out all torsion terms
using this, the endstate energies pass, so it's a torsion thingy.
I'm printing forces["CustomTorsionForce"].getGlobalParameterDefaultValue(0) for both hybrid end states at it's correctly set to 0 and 1 respectively.

I noticed that there are many more torsion terms in the OFF system than the GAFF one, but haven't nailed down yet which torsion terms these are.

I've attached the 'real' systems for the transformation Bace 10 -> 24 which is failing for GAFF but working for OFF. There are many more torsion parameters defined for the OFF system than the gaff for the same molecule.
systems.zip

I noticed that there are many more torsion terms in the OFF system than the GAFF one, but haven't nailed down yet which torsion terms these are.

I've attached the 'real' systems for the transformation Bace 10 -> 24 which is failing for GAFF but working for OFF. There are many more torsion parameters defined for the OFF system than the gaff for the same molecule.
systems.zip

i'll look into this transform at some point today.  thanks

@jchodera

I've attached the 'real' systems for the transformation Bace 10 -> 24 which is failing for GAFF but working for OFF. There are many more torsion parameters defined for the OFF system than the gaff for the same molecule.

I'm looking into this now, but I'm not entirely sure which molecule you're looking for. I'd need the SDF files in order to check this.
For now, I'm looking at perses/perses/data/bace-example/Bace_ligands_shifted.sdf, and I'm assuming you're counting from 0 and referring to the old ligand (ligand 10). Let me know if that isn't correct.
From what I can see using the script below, the high number of torsion terms is correct:
$ grep "Torsion k" ligand10.gaff-1.81.system.xml  | wc -l
     110
$ grep "Torsion k" ligand10.gaff-2.11.system.xml  | wc -l
     111
$ grep "Torsion k" ligand10.smirnoff99Frosst-1.1.0.system.xml  | wc -l
     161
 $grep "Torsion k" ligand10.openff-1.0.0.system.xml  | wc -l
     196

If you turn on DEBUG logging, you can see that both smirnoff99Frosst and openff assign 118 torsions, but some of these torsions have multiple periodicities, so multiple entries are created.
Here's the script I used:
from openmmforcefields.generators import SystemGenerator
from openforcefield.topology import Molecule

import logging
logging.basicConfig(level=logging.DEBUG)

molecules = Molecule.from_file('Bace_ligands_shifted.sdf')
molecule_index = 10

from simtk import openmm
def write(system, filename):
    with open(filename, 'w') as outfile:
        outfile.write(openmm.XmlSerializer.serialize(system))

for forcefield in ['gaff-1.81', 'gaff-2.11', 'smirnoff99Frosst-1.1.0', 'openff-1.0.0']:
    system_generator = SystemGenerator(small_molecule_forcefield=forcefield, molecules=molecules)
    system = system_generator.create_system(molecules[molecule_index].to_topology().to_openmm())
    filename = 'ligand10.' + forcefield + '.system.xml'
    print(filename)
    write(system, filename)

@hannahbrucemacdonald: Can you share the {system,state}.xml for the old, new, and hybrid systems?

For now, I'm looking at perses/perses/data/bace-example/Bace_ligands_shifted.sdf, and I'm assuming you're counting from 0 and referring to the old ligand (ligand 10). Let me know if that isn't correct.
Yes, sorry this is correct

@hannahbrucemacdonald: Can you share the {system,state}.xml for the old, new, and hybrid systems?

Fixed in new_ring_closing branch


Fix mandatory devirtualization of throwing methods

@swift-ci Please smoke test

Slava, why did you merge this? I specifically asked questions in the other PR that this was extracted from and was waiting on @rudkx's response.

Re: the use of the DeadApplies vector:
In 730ef4138552ac2b5f6e91a5595ac77dcf19b596, I added replaceDeadApply. At some subsequent point I deleted the stand-alone devirutalizer pass after integrating it into the performance inliner. At a future date we reworked the pass manager, removed devirtualization from the performance inliner, and I added back a new stand-alone devirutalization pass (70938b1aeeae4f5fcdb7da55e7680d451d19c44a). In that pass I eagerly devirtualized, keeping track of the applies that needed to be deleted outside of the loop (to avoid iterator invalidation issues).
At a future date, Arnold fixed a different iterator invalidation problem (a2c64103dd0bc3d0a322133b4d7fabc04c8954b9) and split the loop up into one collecting the applies to devirtualize, and another devirutalizing those, but didn't remove the now redundant collection and removal of dead applies.

Ok. SGTM!


VPCs do not get deleted after EKS cluster is deleted in rancher

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Create an EKS cluster .
Worker nodes, VPC and Service roles get created in the Cloud formation stacks.
After the cluster is created successfully, delete the cluster

After deletion, the VPC does not get deleted successfully.
Environment information
V2.1.2-rc3

This issue existed earlier too , where in we just provided a warning : https://github.com/rancher/rancher/issues/12736
This issue is seen very often now and we should look at possible solutions.


Using external subtitles + unconverted files not removed

Is there any setting that should make it possible to use subtitles that are accompanied in a download? For instance, I got a season from a show which is downloaded and the mkv files are processed correctly but despite there seeming to be correct file permissions, the .srt accomplanied are not used. Is there a way to make it so? They're usually good.
Another thing, when downloading into sickrage (which I use over Sonarr for other reasons), the old unconverted files are not removed? In sickrage, do I need to enable post processing or merely point to the 'extra script'? What should I set the "download folder" to, and how often to scan?

Assuming subtitles are appropriately named they will be included if they accompany the download
Problem is different release groups use different naming conventions so this isn't easy to reliably automate.
And you need to set delete-original to True to clean out the original mkv file. Additional download garbage that gets included with the download is cleaned up by the various programs (Sickbeard, Sickrage, etc). And yes you need to set your extra_script. You don't need to set a download folder or a scanning frequency if you've set up all the scripts appropriately - the downloader scripts will notify Sickrage when they are finished downloading.

@mdhiggins this is the download in question:
rw-rw-rw- 1 root        root  834834452 Aug  7 19:46 Game.Of.Thrones.S01E01.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
-rw-rw-rw- 1 root        root      39582 Aug  7 19:30 Game.Of.Thrones.S01E01.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.srt
-rwxrwxr-- 1 couchpotato users       192 Aug  8 00:29 Game.Of.Thrones.S01E01.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.unknown.ignore
-rw-rw-rw- 1 root        root  748959276 Aug  7 19:45 Game.Of.Thrones.S01E02.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
-rw-rw-rw- 1 root        root      41699 Aug  7 19:30 Game.Of.Thrones.S01E02.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.srt
-rw-rw-rw- 1 root        root  775247183 Aug  7 19:46 Game.Of.Thrones.S01E03.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
-rw-rw-rw- 1 root        root      56057 Aug  7 19:30 Game.Of.Thrones.S01E03.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.srt
-rw-rw-rw- 1 root        root  753657547 Aug  7 19:41 Game.Of.Thrones.S01E04.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
-rw-rw-rw- 1 root        root      58497 Aug  7 19:30 Game.Of.Thrones.S01E04.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.srt
-rw-rw-rw- 1 root        root  735129403 Aug  7 19:42 Game.Of.Thrones.S01E05.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
-rw-rw-rw- 1 root        root      57553 Aug  7 19:30 Game.Of.Thrones.S01E05.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.srt
-rw-rw-rw- 1 root        root  712735010 Aug  7 19:40 Game.Of.Thrones.S01E06.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
-rw-rw-rw- 1 root        root      42245 Aug  7 19:30 Game.Of.Thrones.S01E06.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.srt
-rw-rw-rw- 1 root        root  782817964 Aug  7 19:43 Game.Of.Thrones.S01E07.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
-rw-rw-rw- 1 root        root      56844 Aug  7 19:30 Game.Of.Thrones.S01E07.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.srt
-rw-rw-rw- 1 root        root  787471209 Aug  7 19:41 Game.Of.Thrones.S01E08.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
-rw-rw-rw- 1 root        root      50431 Aug  7 19:30 Game.Of.Thrones.S01E08.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.srt
-rw-rw-rw- 1 root        root  762228129 Aug  7 19:40 Game.Of.Thrones.S01E09.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
-rw-rw-rw- 1 root        root      50624 Aug  7 19:30 Game.Of.Thrones.S01E09.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.srt
-rw-rw-rw- 1 root        root  712912848 Aug  7 19:42 Game.Of.Thrones.S01E10.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.mkv
-rw-rw-rw- 1 root        root      43693 Aug  7 19:30 Game.Of.Thrones.S01E10.1080p.5.1Ch.BluRay.ReEnc-DeeJayAhmed.srt

after conversion and insertion to sickrage:
-rwxrwxrwx 1 root root<PHONE_NUMBER> Aug  7 19:52 Game of Thrones - S01E01 - Winter Is Coming - Unknown-DeeJayAhmed.mp4
-rwxrwxrwx 1 root root<PHONE_NUMBER> Aug  7 20:28 Game of Thrones - S01E02 - The Kingsroad - Unknown-DeeJayAhmed.mp4
-rwxrwxrwx 1 root root<PHONE_NUMBER> Aug  7 20:10 Game of Thrones - S01E03 - Lord Snow - Unknown-DeeJayAhmed.mp4
-rwxrwxrwx 1 root root<PHONE_NUMBER> Aug  7 20:22 Game of Thrones - S01E04 - Cripples, Bastards, and Broken Things - Unknown-DeeJayAhmed.mp4
-rwxrwxrwx 1 root root  996971261 Aug  7 20:33 Game of Thrones - S01E05 - The Wolf and the Lion - Unknown-DeeJayAhmed.mp4
-rwxrwxrwx 1 root root  966410372 Aug  7 20:45 Game of Thrones - S01E06 - A Golden Crown - Unknown-DeeJayAhmed.mp4
-rwxrwxrwx 1 root root<PHONE_NUMBER> Aug  7 20:04 Game of Thrones - S01E07 - You Win or You Die - Unknown-DeeJayAhmed.mp4
-rwxrwxrwx 1 root root<PHONE_NUMBER> Aug  7 19:58 Game of Thrones - S01E08 - The Pointy End - Unknown-DeeJayAhmed.mp4
-rwxrwxrwx 1 root root<PHONE_NUMBER> Aug  7 20:16 Game of Thrones - S01E09 - Baelor - Unknown-DeeJayAhmed.mp4
-rwxrwxrwx 1 root root  966619671 Aug  7 20:39 Game of Thrones - S01E10 - Fire and Blood - Unknown-DeeJayAhmed.mp4

The subtitles missing... and those MKVs are still there despite "delete-original" is set to true.
This is my autoprocess.ini:
[MP4]
ffmpeg = /usr/local/bin/ffmpeg
ffprobe = /usr/local/bin/ffprobe
threads = 4
output_directory =
copy_to =
move_to =
output_extension = mp4
output_format = mp4
delete_original = True
relocate_moov = True
video-codec = h264,x264,hevc,h265,x265,HEVC,mpeg4,MPEG-4,MPEG-H,h.265,h.264
video-bitrate =
video-max-width =
h264-max-level =
use-qsv-decoder-with-encoder = True
ios-audio = libfdk_aac, aac
ios-first-track-only = False
max-audio-channels =
audio-codec = ac3
audio-language = eng,dan
audio-default-language = eng
audio-channel-bitrate = 256
subtitle-codec = srt
subtitle-language = eng
subtitle-default-language = eng
subtitle-encoding = utf-8
fullpathguess = True
convert-mp4 = True
tagfile = True
tag-language = en
download-artwork = False
download-subs = False
embed-subs = True
sub-providers = addic7ed,podnapisi,thesubdb,opensubtitles
permissions = 0777
post-process = False
pix-fmt =

What am I missing? Permissions seem to be OK?
Also, when you say that I shouldn't set download folder nor scanning frequency in sickrage, does this mean that the "post processing" feature should not be "enabled"? http://i.imgur.com/SpRATEa.png

This must be a permissions issue. You can check info.log and see if there are any errors indicating deleting the original failed
And you do not need to use the "Post Processing" feature

@mdhiggins Permisions are RW for anyone. I just cannot make it remove those old files and copy the subtitles. If subtitles are located inside a folder called subs or subtitles; do they still get moved? I wouldn't expect them to but even when they are placed right next to the MP4, they do not get moved. However, it does seem that if it is an MKV it extract the subtitles and it does move them.

This is my current config:
[MP4]
ffmpeg = /usr/local/bin/ffmpeg
ffprobe = /usr/local/bin/ffprobe
threads = auto
output_directory =
copy_to =
move_to =
output_extension = mp4
output_format = mp4
delete_original = True
relocate_moov = True
video-codec = h264,x264,hevc,h265,x265,HEVC,mpeg4,MPEG-4,MPEG-H,h.265,h.264
video-bitrate =
video-max-width =
h264-max-level =
use-qsv-decoder-with-encoder = False
ios-audio = libfdk_aac,aac,a_aac,libfaac
ios-first-track-only = True
max-audio-channels =
audio-codec = ac3,libfdk_aac,a_ac3,ac-3,a_aac,aac,libfaac
audio-language = eng,dan
audio-default-language = eng
audio-channel-bitrate = 96
subtitle-codec = mov_text
subtitle-language = eng
subtitle-default-language = eng
subtitle-encoding = utf-8
fullpathguess = True
convert-mp4 = False
tagfile = True
tag-language = en
download-artwork = False
download-subs = False
embed-subs = False
sub-providers = addic7ed,podnapisi,thesubdb,opensubtitles
permissions = 0777
post-process = False
pix-fmt =

[CouchPotato]
host = localhost
port = 5050
username = couchpotato
password = Kathan1397
web_root =
ssl = 0
apikey = 85bf637f5b824dce83c77d79bfd7473a
delay = 35
method = renamer
delete_failed = 0

[Deluge]
host = localhost
username = deluge
convert = True
password = Kathan1397
sonarr-label = sonarr
bypass-label = bypass
sickbeard-label = sickbeard
port = 58846
sickrage-label = tv
couchpotato-label = movie

This is my current config:
[MP4]
ffmpeg = /usr/local/bin/ffmpeg
ffprobe = /usr/local/bin/ffprobe
threads = auto
output_directory =
copy_to =
move_to =
output_extension = mp4
output_format = mp4
delete_original = True
relocate_moov = True
video-codec = h264,x264,hevc,h265,x265,HEVC,mpeg4,MPEG-4,MPEG-H,h.265,h.264
video-bitrate =
video-max-width =
h264-max-level =
use-qsv-decoder-with-encoder = False
ios-audio = libfdk_aac,aac,a_aac,libfaac
ios-first-track-only = True
max-audio-channels =
audio-codec = ac3,libfdk_aac,a_ac3,ac-3,a_aac,aac,libfaac
audio-language = eng,dan
audio-default-language = eng
audio-channel-bitrate = 96
subtitle-codec = mov_text
subtitle-language = eng
subtitle-default-language = eng
subtitle-encoding = utf-8
fullpathguess = True
convert-mp4 = False
tagfile = True
tag-language = en
download-artwork = False
download-subs = False
embed-subs = False
sub-providers = addic7ed,podnapisi,thesubdb,opensubtitles
permissions = 0777
post-process = False
pix-fmt =

[CouchPotato]
host = localhost
port = 5050
username = ******
password = *****
web_root =
ssl = 0
apikey = 85bf637f5b824dce83c77d79bfd7473a
delay = 35
method = renamer
delete_failed = 0

[Deluge]
host = localhost
username = deluge
convert = True
password = *******
sonarr-label = sonarr
bypass-label = bypass
sickbeard-label = sickbeard
port = 58846
sickrage-label = tv
couchpotato-label = movie

@mdhiggins SABNZBD downloads does seem to get the original file deleted. Although not the folder.


Add optional node install for all definitions with languages commonly used for web development

Given node's prevalence in front-end web development, it is common to need node in addition to another language used for back-end development. We can provide an ARG to allow developers to opt in/out of adding node to the container from devcontainer.json.

[x] dotnecore, dotnetcore-fsharp
[ ] dapr-*
[x] go
[x] php, php-mariadb
[x] python-3, python-3-*
[x] java
[x] ruby, ruby-*, jekyll
[x] swift
[ ] azure-functions-* (?)

Several others need Node (e.g. azure-terraform, elm), but that's already covered.

First of all thanks for all the work on these standardized development containers.
I have some notes regarding the Go containers.
It is not at all common to use Node.js as a frontend for Go.  In fact I've never seen it in any professional go deployment environment ever.
The readme says:
"Given how frequently Ruby-based web applications use Node.js for front end code, this container also includes Node.js."

Would it not make more sense for each language server to exist in its own repo with native language maintainers?
I would think one would want the standard dev-server definitions provided here to be as minimalistic as possible given that users of the containers are free to add their own additional requirements? It is somewhat easer to add layers to a container than to remove them.

@mrjoshuak Thanks, that's actually partly a doc bug. New edit:

Given Node.js is often used with for front-end web client code used in conjunction with a Go back-end, this container also includes nvm so that you can easily install Node.js.

Only nvm is present, but this came up enough in conversations that we added it. That said, we're thinking through alternate approaches for people to create their own multi-stack containers since this can get quickly out of hand.


Populating despite populate:false / performance implications of associations and PubSub

I have a Courier model, with one-to-many association to Deliveries model:
Courier.js

...
deliveries: {
	collection: 'delivery',
	via: 'courier'
},
...

Even though I have set populate: false in blueprints.js, and never make any populate() calls, every 15 seconds I update the Courier model (his location, in this case), Sails sends back a fully populated Courier record with 100s of associated Delivery records (which first need to be fetched from the database!)...
The "culprit" is hooks/blueprints/actions/update.js, specifically updateOneRecord, which contains:
Model.findOne(pk).populateAll().exec(function found(err, matchingRecord) {

While I understand the convenience of doing things like this and that some people definitely expect it, (and I realise the possibility of overriding update method in controller) - if populate is set to false, wouldn't it make sense not to automatically populate in this case either?
Thanks!

Sails sends back a fully populated Courier record with 100s of associated Delivery records

The defaultLimit is set to 30.

if populate is set to false, wouldn't it make sense not to automatically populate in this case either?

Yea, I agree with this. There should be a conditional statement which only does populateAll if you have populate: true. Since I think you've accurately diagnosed the problem, would you mind submitting a PR?

Thanks a lot for the comment @tjwebb - you're right, I completely missed the defaultLimit that was previously set rather high in our case :) Definitely makes it much less of a problem by default.
I'll happily submit a PR shortly!


Aggregate with cutoff id state

I don't believe this is the right solution.  The current approach on the meat-aggregate-threadpool is a reasonable mix of correctness and perf tweaks, imho.


Avoid a crash in Mesher if triangulation fails

Exactly the same problem exists in CadQuery's tessellate() (see this issue).
I don't know how to reproduce it on a small model.
It will be reproducible by the following PartCAD command after the refactoring for OBJ rendering is published (the refactoring is to use build123d instead of CadQuery):
pc render -t obj -a /pub/robotics/multimodal/openvmp/robots/don1:robot

If a face is skipped isn't the whole tessellation invalid?  How does this actually help or is it just intended to be a placeholder for some alternative solution?

I think I have the same in my tessellator:
https://github.com/bernhard-42/ocp-tessellate/blob/3940f04206f207bfdc4e5206590643f00ea984f8/ocp_tessellate/tessellator.py#L229-L234
OCCT returns None for faces without proper polygons

How does this actually help or is it just intended to be a placeholder for some alternative solution?

It helps to avoid an exception being thrown a few lines further in case the object is None.
I don't know if there is anything else we can do with such faces.

@openvmp would you add some tests to cover this change?

I was only able to reproduce it while processing that model.
It was producing a 1.2GB large OBJ file at that moment and it was very hard to troubleshoot.
I guess it should be relatively simple to reproduce, using a face with all vertices on one line or when two of them coincide.
But, unfortunately, I'm not proficient in build123d modeling to be able to reproduce that.
I'm serving those using build123d, but I don't know how to use it myself.
I only know how to use import/export functions.


Typescript enum suggestion Chinese garbled code

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.88.0
OS Version: Darwin x64 22.6.0

版本: 1.88.0
提交: 5c3e652f63e798a5ac2f31ffd0d863669328dc4c
日期: 2024-04-03T13:28:18.899Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin x64 22.6.0
Steps to Reproduce:

Please share the example code as text

Like this
enum Demo {
  A = '苹果'
}

console.log(Demo.A);


Document the fact that we support node-semver style ranges

Fine to just point to https://github.com/npm/node-semver - should go in Dependencies section of module.xml docs

Should also make sure * works as advertised


New version: ReadOnlyArrays v0.2.0

Registering package: ReadOnlyArrays
Repository: https://github.com/bkamins/ReadOnlyArrays.jl
Created by: @bkamins
Version: v0.2.0
Commit: 70b262d933e006f33362f7204cf65d6bb5dae85f
Reviewed by: @bkamins
Reference: https://github.com/bkamins/ReadOnlyArrays.jl/commit/70b262d933e006f33362f7204cf65d6bb5dae85f#commitcomment-64127271
Description: A wrapper type around AbstractArray that is read-only

CC @wmanning-cra


Create a Layout component

Currently, we have navbar and footer components in index.tsx, but when we have new routes these components won't be visible.
Ideally, there should be a Layout component that contains the nav and footer components. This Layout component then wraps around < Component  /> from the _app.tsx file.
This will make the navbar and footer available on all the pages.

Hey can you assign this to me?

Looks like a great idea, do you want to work on this, @TanmayBhosale?

Let @stevenovak123 have it I'll work on something different

Do we have any backend work I would like to do that

So @stevenovak123, do you want to work on this?

Yeah I can

@TanmayBhosale
Currently implementing Twitter login functionality, will inform you once the basic backend gets developed.

@stevenovak123
Go ahead, I'm assigning this issue to you.

Alright. Thanks !!

Yup okay sure! Till then can we make a contributors page? We can just keep a list of contributors and make a page to display it. I think this will encourage contribution.

On website? Something like: "Threadify is possible due to these awesome contributors, become one, too!"
Great idea, actually!!

Yup! We can have a route /contributors where we can display all the contributors. Should I create a separate issue for this?

Looks like a great idea @TanmayBhosale.
BTW, how are going to fetch who has contributed?

I think you should create a separate issue for this.

Yup

🎉 This issue has been resolved 🎉


[WIP][SPARK-20219] Schedule tasks based on size of input from ScheduledRDD

What changes were proposed in this pull request?
When data is highly skewed on ShuffledRDD, it make sense to launch those tasks which process much more input as soon as possible. The current scheduling mechanism in TaskSetManager is quite simple:
for (i <- (0 until numTasks).reverse) {
    addPendingTask(i)
}

In scenario that "large tasks" locate at bottom half of tasks array, if tasks with much more input are launched early, we can significantly reduce the time cost and save resource when "dynamic allocation" is disabled.
How was this patch tested?
Added unit test in 'TaskSetManagerSuite'.

Test build #75529 has started for PR 17533 at commit f757e41.

Test build #75531 has started for PR 17533 at commit 6d18a09.

Test build #75532 has started for PR 17533 at commit 878d676.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75531/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75532/
Test FAILed.

Merged build finished. Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75529/
Test FAILed.

Test build #75538 has started for PR 17533 at commit e4af778.

Tasks are scheduled by locality (which includes shuffle tasks too to some extent).
This is making a lot of state mutable within TSM - is there any tests done which show improvements due to this change ? Or it an expectation that it will improve ?

Yes, I did the test in my cluster. In highly-skew stage, the time cost can be reduced significantly. Tasks are scheduled with locality preference. But in current code, input size of tasks are not taken into consideration. Think about this scenario:

There are 9 partitions(0~8) in the ShuffledRDD and size of partition-8 is 8 times of the previous 8 partitions. (Lets assume that time cost of task has linear relation with the size of input and time cost of first 8 tasks is 1 and the time cost of the last task is 8.)
Tasks are scheduled on 2 executors.

In current code, the tasks are scheduled in serial order and task for partition-8 will be the last one to launch and the time cost is 12.
With this change, task for partition-8 will be scheduled first and the time cost will be reduced to 8.
This change is related to SPARK-19100. In my prod env, skew situations happens mostly on ShuffledRDD. Thus this pr proposes to consider the size of input from ShuffledRDD when scheduling. This change can bring benefit when skew situations and won't have negative impact on performance in other scenarios.

Test build #75542 has started for PR 17533 at commit 462d92e.

Test build #75543 has started for PR 17533 at commit 97afe0a.

Test build #75538 has finished for PR 17533 at commit e4af778.

This patch fails from timeout after a configured wait of `250m`.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75538/
Test FAILed.

Test build #75542 has finished for PR 17533 at commit 462d92e.

This patch fails from timeout after a configured wait of `250m`.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75542/
Test FAILed.

Test build #75547 has started for PR 17533 at commit b0c3abc.

Test build #75543 has finished for PR 17533 at commit 97afe0a.

This patch fails from timeout after a configured wait of `250m`.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75543/
Test FAILed.

I'm hesitant about this and posted some comments on the JIRA (we should try to keep high-level discussion about whether this change makes sense there, so it's easier to reference in the future and not tangled up in the low-level PR comments)

Test build #75547 has finished for PR 17533 at commit b0c3abc.

This patch fails from timeout after a configured wait of `250m`.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75547/
Test FAILed.

@kayousterhout
Thanks a lot for comment and sorry for late reply. I replied your comment from JIRA. Please take a look when you have time :)

Test build #75634 has started for PR 17533 at commit dbacfc2.

@squito
Thank you so much for taking look into this.

we don't want the TSM requesting info from the DAGSCheduler

Sorry I missed this point for the previous change. Now I push the info(size of input from ShuffledRDD) when create TSM.
Also I added a test in DAGSchedulerSuite to check the sizes are getting computed correctly.
Thanks a lot again :) and hope I understand your comment correctly.

Test build #75634 has finished for PR 17533 at commit dbacfc2.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75634/
Test FAILed.

Merged build finished. Test FAILed.

Test build #75695 has started for PR 17533 at commit fd9bc68.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75695/
Test FAILed.

Test build #75697 has started for PR 17533 at commit e3a15c3.

Test build #75697 has finished for PR 17533 at commit e3a15c3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75697/
Test PASSed.

Test build #75800 has started for PR 17533 at commit b44f1df.

Test build #75802 has started for PR 17533 at commit 7212089.

@squito
Thank you so much for reviewing thus far and sorry for the complexity I bring in.
I tried to simplify the code according to your comment and please take another look when tests passed. :)

Test build #75800 has finished for PR 17533 at commit b44f1df.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75800/
Test FAILed.

Test build #75802 has finished for PR 17533 at commit 7212089.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/75802/
Test FAILed.

Merged build finished. Test FAILed.

I think the failed unit test can be fixed in https://github.com/apache/spark/pull/17634 and https://github.com/apache/spark/pull/17603

Hi @jinxing64, how is it going?

@HyukjinKwon
Sorry, I will close this for now and make another pr if there's progress.


Deprecate single item transports

Description
In order not to break the existing custom transports with batching, we have added some hacky code to ensure they work
Proposed solution
When releasing v2, we should remove this hacky code completely.

We will always have "immediate" transports like the ConsoleTransport which don't ever send batch data.


[SPARK-4508] [SQL] build native date type to conform behavior to Hive

The previous #3732 is reverted due to some test failure.
Have fixed that.

Test build #26617 has started for   PR 4325 at commit 096e20d.

This patch merges cleanly.

Thanks for the quick fix.
LGTM pending tests.

Test build #26617 has finished for   PR 4325 at commit 096e20d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26617/
Test PASSed.

Test build #26639 has started for   PR 4325 at commit e46735c.

This patch merges cleanly.

Test build #26639 has finished for   PR 4325 at commit e46735c.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26639/
Test FAILed.

retest this please.

Test build #26642 has started for   PR 4325 at commit 096e20d.

This patch merges cleanly.

Test build #26642 has finished for   PR 4325 at commit 096e20d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/26642/
Test PASSed.


Mbed CLI doesn't correctly handle target detection during mbed dm update device -D <id> -m DETECT

See title
mbed dm update device -D 01671d2e968c0000000000010010038c -m DETECT -t ARM
[mbed] Auto-installing missing Python modules...
Traceback (most recent call last):
  File "D:\Work\smcc-example\mbed-os\tools\device_management.py", line 178, in <module>
    main()
  File "D:\Work\smcc-example\mbed-os\tools\device_management.py", line 173, in main
    }[options.action](options) or 0
  File "D:\Work\smcc-example\mbed-os\tools\device_management.py", line 79, in inner
    mcus = extract_mcus(MbedExtendedArgs(), options)
  File "D:\Work\smcc-example\mbed-os\tools\options.py", line 137, in extract_mcus
    args_error(parser, "argument -m/--mcu: {}".format(str(exc)))
  File "D:\Work\smcc-example\mbed-os\tools\utils.py", line 319, in args_error
    parser.error(message)
AttributeError: 'MbedExtendedArgs' object has no attribute 'error'
[mbed] ERROR: "c:\progra~1\python\python.exe" returned error.
       Code: 1
       Path: "D:\Work\smcc-example"
       Command: "c:\progra~1\python\python.exe -u D:\Work\smcc-example\mbed-os\tools\device_management.py update device -D 01671d2e968c0000000000010010038c --toolchain ARM --mcu DETECT --build .\BUILD\DETECT\ARM"
       Tip: You could retry the last command with "-v" flag for verbose output

CC @theotherjimmy

Yep. Good catch.

Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-172

Any chance we could get this fixed? It'd make it a hellova lot easier to do tutorials if we had the -m auto command. Also can we make sure that it'll check the environment / global config if none is provided?

Thank you for raising this issue. Please note we have updated our policies and
now only defects should be raised directly in GitHub. Going forward questions and
enhancements will be considered in our forums, https://forums.mbed.com/ . If this
issue is still relevant please re-raise it there.
This GitHub issue will now be closed.

Apologies, this was closed in error by the automated bot - re-opening.

Internal Jira reference: https://jira.arm.com/browse/IOTBTOOL-469

mbed dm update device -D <device_id> -m <CUSTOM TARGET> -t ARM_GCC
This command also fails when specifying a custom target


Add end of standard support dates for all kubernetes versions above 1.28

Issue #, if available:
#2855
Description of changes:
This PR adds the end of standard support dates for all Kubernetes versions starting from v1.28 onwards to indicate the start of extended support period for that version. This file will act as a source of truth for the start of extended support period for each supported kubernetes version.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/hold

Also the upgrade automation parses and regenerates this file during every new EKS-D upgrade, so to avoid losing the date field, you'll need to add it here and handle it accordingly.

/unhold


Get name of a sender from the email?

What method should I use if I wanted to get the name of the sender, not their email address?  Looking through the standards document that you linked, I don't see an option available.

>> Mail.new(from: 'Me <a@b.com>')[:from].display_names
=> ["Me"]


XDR 12 bit jpeg conversion

What are you trying to achieve?
I am importing XDR files.  When using sharp.metadata() sharp correctly identifies them as jpegs, but they are single channel, 12bit encoded.  When I attempt to pass the buffer to sharp I get
VipsJpeg: Unsupported JPEG data precision 12
which I suppose makes sense as sharp supports 8bit.  I have attempted to then pass it as a raw buffer and downsample to 8bit using readInt16LE, I end up getting
	VipsImage: memory area too small --- should be 2593728 bytes, you passed 308684
despite specifying single channel data.
Am I missing something?
Have you searched for similar questions?
Yes
Are you able to provide a sample image that helps explain the question?
Unfortunately I can not.

Please see https://github.com/libvips/libvips/issues/664

I won't have the option to custom compile libvips/libjpeg to 12 bit as I am running serverless
Is it not possible to do the conversion manually before feeding the output to sharp?  I see the discussion of packed 12bit i.e. RR RG GG BB BR RR GG GB BB RR RG GG BB, but how does this apply to single channel?
Thanks!

The 12-bit JPEG will be compressed, not raw pixel data, so short of writing your own 12-bit JPEG decoder I'm not sure what options you've got if you can't compile libjpeg from source - perhaps ask on StackOverflow.


best practice in production environment？

What is the best practice to ensure high availability when deploying apisix-seed in a production environment？

Have a solution？


Consider using key for rules instead of number

Why did you choose numbers ? Is there any references somewhere ?
Some others linters are using clear key (eg: eslint, styelint etc)

Thanks for the suggestion! I'm a big fan of ESLint and like the readability rule names offer. In this case, markdownlint has its roots in a Ruby implementation and I wanted to maintain as much compatibility as possible, so I used the same MD### system for naming. (More info: http://dlaa.me/blog/post/markdownlint)
That said, I think I could support both systems (MD### for compatibility and short-rule-names for readability). I'll look into supporting this soon - or else follow up here with a reason I don't think it will work.

I ran this by Mark and we're thinking to use something close to the following list for both JavaScript and Ruby. Both implementations will support both naming styles interchangeably. I've got an idea how I want to code this and should be able to make progress this week.
MD001 - header-indent - Header levels should only increment by one level at a time
MD002 - first-header-h1 - First header should be a h1 header
MD003 - header-style - Header style
MD004 - ul-style - Unordered list style
MD005 - list-indent - Inconsistent indentation for list items at the same level
MD006 - ul-start-left - Consider starting bulleted lists at the beginning of the line
MD007 - ul-indent - Unordered list indentation
MD009 - no-trailing-spaces - Trailing spaces
MD010 - no-hard-tabs - Hard tabs
MD011 - no-reversed-links - Reversed link syntax
MD012 - no-multiple-blanks - Multiple consecutive blank lines
MD013 - line-length - Line length
MD014 - commands-show-output - Dollar signs used before commands without showing output
MD018 - no-missing-space-atx - No space after hash on atx style header
MD019 - no-multiple-space-atx - Multiple spaces after hash on atx style header
MD020 - no-missing-space-closed-atx - No space inside hashes on closed atx style header
MD021 - no-multiple-space-closed-atx - Multiple spaces inside hashes on closed atx style header
MD022 - blanks-around-headers - Headers should be surrounded by blank lines
MD023 - header-start-left - Headers must start at the beginning of the line
MD024 - no-duplicate-header - Multiple headers with the same content
MD025 - single-h1 - Multiple top level headers in the same document
MD026 - no-trailing-punctuation - Trailing punctuation in header
MD027 - no-multiple-space-blockquote - Multiple spaces after blockquote symbol
MD028 - no-blanks-blockquote - Blank line inside blockquote
MD029 - ol-prefix - Ordered list item prefix
MD030 - list-marker-space - Spaces after list markers
MD031 - blanks-around-fences - Fenced code blocks should be surrounded by blank lines
MD032 - blanks-around-lists - Lists should be surrounded by blank lines
MD033 - no-inline-html - Inline HTML
MD034 - no-bare-urls - Bare URL used
MD035 - hr-style - Horizontal rule style
MD036 - no-emphasis-as-header - Emphasis used instead of a header
MD037 - no-space-in-emphasis - Spaces inside emphasis markers
MD038 - no-space-in-code - Spaces inside code span elements
MD039 - no-space-in-links - Spaces inside link text
MD040 - fenced-code-language - Fenced code blocks should have a language specified
MD041 - first-line-h1 - First line in file should be a top level header

So I've finally gotten around to working on implementing this, and took another look at the rule names. What are your thoughts on MD001 / header-indent being labeled something like header-increment or something like header-levels? The headers aren't really indented.

Agreed, I like your proposal of header-increment better!


problem running dlux, l2 learning switch

Hi
I've used the latest commit (29c6e386c2e614d719d8c09e32b183248943515b).
Running on a clean Centos7.
Created a very simple odl.pp and applied it:
class { 'opendaylight':
  extra_features => ['odl-restconf','odl-l2switch-switch','odl-mdsal-apidocs','odl-dlux-core'],
}

Result: ODL is running (a lot of TCP sockets opened by java, including 8181, which is the DLUX UI).
But: opening http://:8181/dlux/index.html gives a login panel which doesn't accept the usual admin/admin credentials, and the karaf log is full of interesting but not good stuff.  See on dropbox: https://www.dropbox.com/s/9hx60bowmdlr1x7/karaf.log.gz?dl=0
Also, I cannot open a karaf console: /opt/opendaylight/bin/karaf just hangs after saying 'OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0'
Questions: how to login to karaf/ODL console?; what ODL app did you test?; did I miss anything out in my install process (I just sym-linked the source directory puppet-opendaylight into /etc/puppet/modules as opendaylight)?
thanks and brgds
nic

This may be related to #76. I should have that fixed in the next few minutes.

I've repeated the exact same operations as described previously, and I obtain a working installation (not rigorously tested, but not at all broken as described previously.)  Yes, I don't believe it's exactly the same.  Only difference I can pinpoint (and I don't believe is relevant): in first case my VM was running in a large OpenStack system, this time it's a much smaller machine (under VMware).
BTW, the Java version installed (by puppet..) is OpenJDK 1.7.0_79...
I'd still like to know, however, how to run a local karaf console....

I'd still like to know, however, how to run a local karaf console....

Sorry, almost missed this.
I think you're asking to connect to the Karaf shell. Just SSH to it with something like ssh -p 8101 karaf@localhost. To get more fancy, check out this connect.sh script.

Thanks Daniel - that is exactly my question.
Can I suggest that it would be helpful to include this in the README on
github?
nic
On 27/04/15 21:05, Daniel Farrell wrote:

I'd still like to know, however, how to run a local karaf console....

Sorry, almost missed this.
I think you're asking to connect to the Karaf shell. Just SSH to it
with something like |ssh -p 8101 karaf@localhost|. To get more fancy,
check out this |connect.sh|
https://github.com/dfarrell07/vagrant-opendaylight/blob/master/scripts/connect.sh
script.
—
Reply to this email directly or view it on GitHub
https://github.com/dfarrell07/puppet-opendaylight/issues/75#issuecomment-96799155.

Can I suggest that it would be helpful to include this in the README on github?

Sure, sounds like a good addition. Thanks for the suggestion.

@hdb3 - Raised #80 to track that docs update.


Parameter Store - Property Source reload does not detect newly added properties.

Type: Bug
Component:
Parameter Store
Describe the bug
PollingAwsPropertySourceChangeDetector does not detect new properties added to the AWS Parameter Store (modify/delete of existing properties works as expected).
ConfigurationChangeDetector.changed method only checks if the values of existing property names have changed. It should also return true if the "left.getPropertyNames()" is not equal to the "right.getPropertyNames()". Assuming the order of the property names is consistent then can use something like:
if (Arrays.equals(left.getPropertyNames(),right.getPropertyNames()){
   return true;
}

awspring: 3.0.0-RC2
springCloud: 4.0.1
Sample
Start up an application with the refresh config. Add a new property to AWS Param Store. PollingAWSPropertySourceChangeDetector should detect the change and refresh the context.

Hey @griffygruffy ,
Thank you on reporting, would you like to contribute and make a PR?

FYI Secrets Manager is not affected.

Wow guys, I was coming back on here to submit the PR, to find its been fixed already. Not only that, its already available in a release. Amazing, thanks very much @maciejwalkowiak!


HDF5 files should be placed in a new directory

Currently the HDF5 files produced by the simulation are placed in the same directory as the source code.    Should they get their own directory that is overwritten every time?  There own directory including the process id so that they all are maintained?  Or just be deleted entirely after the program finishes execution?
The path that the files will be written to can be given as an argument to the Simulation constructor.  The simulations are created in helper.py.

The data used for the reduction should not be automatically deleted when the program finishes, because you may want to run a reduction again for the same initial conditions but with some of the reduction options changed (different targets, error limit, method, etc.).
So I think a data or something folder should be created and used for these files; then, there should be an option when running the program to reuse that data (or perhaps default to reusing the data, and have a flag to remove old data.)


Issue in HTML challenge

Describe the Issue
In the fourth challenge of 'Learn HTML Forms by Building a Registration Form', the challenge gives an error of 'Link tag should be self closing'.
The solution according to the challenge:

**Whereas the solution should be:**

Affected Page
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-forms-by-building-a-registration-form/step-4
Your code
<head>
   <title>Registration Form</title>
    <link rel="stylesheet" href="styles.css>
  </head>
  <body>
  </body>

Expected behavior
The code should have passed since Link tag is a self closing tag and doesn't need a '/'.
Screenshots

System

Device: Laptop MI Notebook
OS: Windows 11
Browser: Brave
Version: 1.40.107

Additional context
No response

Thank you for reporting this issue.
This is a standard message notifying you that this issue appears to be very similar to issue #44616, so we are closing it as a duplicate.
If you think we're wrong in closing this issue, please request for it to be reopened and add further clarification. Thank you and happy coding.


Large message won't receive correctly

I know all about editing MQTT_MAX_PACKET_SIZE i PubSubClient.h and setting it to a high enough value.
Mine is set to 5000 and when my ESP8266 tries to receive a message from MQTTfx that is 1741 characters long something goes wrong and the message never gets recieved.
What can be the problem?

Solved the problem !!
The payload was received correctly but as it was JSON i needed to alter the  buffersize when using ArduinoJSON library.
The following was used
const size_t bufferSize = 45*JSON_ARRAY_SIZE(2) + JSON_OBJECT_SIZE(49) + 1610;
DynamicJsonBuffer jsonBuffer(bufferSize);


Default Port Mapping Issues

If I create a test container just using the default port for that container:
MSSQLServerContainer<?> sqlservercontainer = new MSSQLServerContainer<>().withLogConsumer(DatabaseContainerFactory::log);

Then sqlservercontainer.getFirstMappedPort(); will return the port that is mapped to 1433
If I create a test container and then later expose additional ports:
MSSQLServerContainer<?> sqlservercontainer = new MSSQLServerContainer<>()
	.withEnv("MSSQL_RPC_PORT", "135")
	.withEnv("MSSQL_DTC_TCP_PORT","51000")
	.withEnv("MSSQL_AGENT_ENABLED", "true")
	.withLogConsumer(DatabaseContainerFactory::log);

sqlservercontainer.addExposedPort(135);
sqlservercontainer.addExposedPort(51000);

Log.info(c, "setupDataSourceProperties", "Port 1433 mapped to: " + sqlservercontainer.getMappedPort(1433));
Log.info(c, "setupDataSourceProperties", "First mapped port: " + sqlservercontainer.getFirstMappedPort());

I would expect that sqlservercontainer.getFirstMappedPort(); and sqlservercontainer.getMappedPort(1433); would return the same value.  But the result is:
setupDataSourceProperties      I Port 1433 mapped to: 33867
setupDataSourceProperties      I First mapped port: 33868

This behaviour comes from the implementation of MSSQLServerContainer (and most specialized container classes will follow this pattern).
The MSSQL port 1433 is added in the configure() method of the container life cycle. So this means the default port is added after the ports you've added by hand.
I would not consider this a problem, since the normal way to interact with the container would be using getJdbcUrl(). Therefore I will close this issue for now.
If you can elaborate further why this is a problem for certain use cases, I'd be happy to reopen the issue.


Cookiecutterize

The package organization of pytometry is already in quite a good shape, but I'd suggest to fully align it with cookiecutter-scverse for consistency with the other packages and to get the latest-greatest setups for linting and documentation.
@mbuttner @quentinblampey, WDYT? I can take that on if you want.
EDIT: At this point, I'd probably also move the documentation to readthedocs. It has some useful features like PR builds and keeping different versions of the documentation and we use it basically everywhere else.

@grst please go ahead with the suggested changes.
I can tell that I am happy with the netlify page and the package organization overall (that's my emotional attachment to the current state). I do understand your point on consistency and potentially easier maintenance.

@mbuttner I'm working with both structures (Lamin - although yours is outdated and scverse) and they are pretty similar. Since it got moved to scverse, I'd like to second @grst suggestion and in practice you will not notice a difference. It will look and behave very similar but make it easier for scverse developers to contribute.


Implement word selection for textfield, start word selection by double clicking and dragging

Heres a PR that implements word selection.
To summarize, i made two external, non-completion variables - __wordSelection and __wordSelectionInitialIndex.

__wordSelection is used to check if the textfield is currently "double clicked". if so, regular dragging is modified to only account for word starts/endings as indices
__wordSelectionInitialIndex is used to know where to start the selection from, and to which direction (for example, if __caretIndex > __wordSelectionInitialIndex, we need to select from the start of the first selected word to the end of the last. othewise, select from the end of the first word selected, to the start of the last)

I also made two non-completeion functions to calculate the selection indices:
This one is used to set __caretIndex
https://github.com/ShaharMS/openfl/blob/f8d1f60c2391d6aaf0ebdb1be6e1a08b7aad443a/src/openfl/text/TextField.hx#L1964-L1987
And this one is used to set __selectionIndex
https://github.com/ShaharMS/openfl/blob/f8d1f60c2391d6aaf0ebdb1be6e1a08b7aad443a/src/openfl/text/TextField.hx#L1989-L2011

regular dragging is modified to only account for word starts/endings as indices

Interesting! I knew that double-clicking a word would select the whole word, but I didn't know that if you dragged after double-clicking, it would expand selection to whole words instead of character by character.

another thing i didnt know (which i plan to implement too) is that a triple click selects an entire pragraph, and dragging selects from the initial paragraph to the one under the mouse. i thought it selected lines, but thats probably because i use vscode too much😆

Another thing, you might have noticed i removed the event listener for DOUBLE_CLICK. i still kept the function just in-case we want to revert some things, but the event listener can be removed

would this be merged right after 9.2? if so, should i also add the triple click, paragraph-selection capabilities?

I know what to fix to make CI working, I'll do the fix after 9.2 is out

It just your use of the final keyword. This is only supported since haxe 4. Since we still support backwards compatibility with older versions, you should avoid using syntax only available in new releases of Haxe.

can someone trigger CI to check the last commit? i wan to see if there's anything i missed

Can this be merged now? i want to work on the other selection changes, but I'm wating for this to get merged

Bumping this, the selection changes, or at least further modification of the way openfl does text selection is really needed, especially for web platforms, on which OpenFl's textfields sticks out like a sore thumb...
#2587 may still be relevant. If not, ill merge from develop and make progress on this PR

I merged #2587 the other day, and I'd like to merge this one too (into 9.4.0-Dev). I think that this one should be updated to use clickCount, now that it is available (instead of the decideDoubleClick extra listener workaround), but I'm guessing that's probably the only change necessary.

I'm quite busy today, and there's also some work to do with paragraph selection iirc (triple clilck)
Will probably get to fix things tomorrow

@ShaharMS I may have some more feedback after I get into testing the code, but just reading through it, can you remove the doubleClickEnabled = true line in the constructor too? It appears to me that is no longer needed with the removal of this_onDoubleClick.

@ShaharMS I may have some more feedback after I get into testing the code, but just reading through it, can you remove the doubleClickEnabled = true line in the constructor too? It appears to me that is no longer needed with the removal of this_onDoubleClick.

Or maybe go all the way and only allow these types of selection when doubleClickEnabled is true? Which route should I go?

I checked the other day, and TextField's doubleClickEnabled is false in Flash. So just remove that line, and it's all good.

@joshtynjala line removed. Can this be merged?

@joshtynjala line removed. Can this be merged?

Thanks! When I have time again, I'll do some testing, and merge it if everything looks good.


Prohibit assignment initialization in a for-in/for-of statement

Fixes #1561

/cc @bakkot

Current coverage is 100% (diff: 100%)

Merging #1562 into master will not change coverage

@@           master   #1562   diff @@
=====================================
  Files           1       1
  Lines        3733    3733
  Methods         0       0
  Messages        0       0
  Branches      628     628
=====================================
  Hits         3733    3733
  Misses          0       0
  Partials        0       0

Powered by Codecov. Last update 15fec5c...1fc2078

👍


Build error: unresolved Gradle dependency

Versions
$ lsb_rlease -a
LSB Version:	1.4
Distributor ID:	Arch
Description:	Arch Linux
Release:	rolling
Codename:	n/a

$ java -version
openjdk version "1.8.0_144"
OpenJDK Runtime Environment (build 1.8.0_144-b01)
OpenJDK 64-Bit Server VM (build 25.144-b01, mixed mode)

$ ~/AndroidSDK/tools/bin/sdkmanager --list
Installed packages:
  Path                                        | Version      | Description                                | Location
  -------                                     | -------      | -------                                    | -------
  build-tools;26.0.2                          | 26.0.2       | Android SDK Build-Tools 26.0.2             | build-tools/26.0.2/
  build-tools;27.0.3                          | 27.0.3       | Android SDK Build-Tools 27.0.3             | build-tools/27.0.3/
  docs                                        | 1            | Documentation for Android SDK              | docs/
  emulator                                    | 27.0.5       | Android Emulator                           | emulator/
  extras;android;m2repository                 | 47.0.0       | Android Support Repository                 | extras/android/m2repository/
  extras;google;m2repository                  | 58           | Google Repository                          | extras/google/m2repository/
  ndk-bundle                                  | 16.1.4479499 | NDK                                        | ndk-bundle/
  patcher;v4                                  | 1            | SDK Patch Applier v4                       | patcher/v4/
  platform-tools                              | 27.0.1       | Android SDK Platform-Tools                 | platform-tools/
  platforms;android-26                        | 2            | Android SDK Platform 26                    | platforms/android-26/
  platforms;android-27                        | 1            | Android SDK Platform 27                    | platforms/android-27/
  sources;android-26                          | 1            | Sources for Android 26                     | sources/android-26/
  sources;android-27                          | 1            | Sources for Android 27                     | sources/android-27/
  system-images;android-26;google_apis;x86_64 | 8            | Google APIs Intel x86 Atom_64 System Image | system-images/android-26/google_apis/x86_64/
  system-images;android-27;google_apis;x86    | 2            | Google APIs Intel x86 Atom System Image    | system-images/android-27/google_apis/x86/
  tools                                       | 26.1.1       | Android SDK Tools                          | tools/

Steps to reproduce
$ git clone git@github.com:vector-im/riot-android.git && cd riot-android
$ git checkout develop
$ ./gradlew assembleDebug

Non-verbose log
Downloading https://services.gradle.org/distributions/gradle-3.3-all.zip
Unzipping /home/saber-nyan/.gradle/wrapper/dists/gradle-3.3-all/2n0i7hqatcbtk57vvql575dbap/gradle-3.3-all.zip to /home/saber-nyan/.gradle/wrapper/dists/gradle-3.3-all/2n0i7hqatcbtk57vvql575dbap
Set executable permissions for: /home/saber-nyan/.gradle/wrapper/dists/gradle-3.3-all/2n0i7hqatcbtk57vvql575dbap/gradle-3.3/bin/gradle
Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details
Parallel execution with configuration on demand is an incubating feature.
Download https://jcenter.bintray.com/com/android/tools/build/gradle/2.3.3/gradle-2.3.3.pom
<...downloading libraries...>
Download https://oss.sonatype.org/content/repositories/snapshots/pl/droidsonroids/gif/android-gif-drawable/1.2.10-SNAPSHOT/android-gif-drawable-1.2.10-20171222.021018-1.pom
Download https://jcenter.bintray.com/com/googlecode/libphonenumber/libphonenumber/8.0.1/libphonenumber-8.0.1.pom
Download https://jcenter.bintray.com/com/googlecode/libphonenumber/libphonenumber-parent/8.0.1/libphonenumber-parent-8.0.1.pom

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':vector'.
> Could not resolve all dependencies for configuration ':vector:_appDebugApk'.
   > Project :vector declares a dependency from configuration 'compile' to configuration 'default' which is not declared in the descriptor for project :matrix-sdk.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1 mins 14.717 secs

Full log
$ ./gradlew --debug --stacktrace assembleDebug

Output:
riot.log

Seems fixed in b21eb47fc5a01d1874ba5f66224c2b17b2bd8384.


SQLDatabaseChain

You can omit the base class implementation. Just one file where this works is enough, we'll highlight the interfaces a bit later.
You can use GPT-4 for initial implementation
Tests are encouraged but not required. It's better to do something minimal than nothing.

References:

https://api.python.langchain.com/en/latest/sql/langchain_experimental.sql.base.SQLDatabaseChain.html

Thank you very much!

@HavenDV I guess we can close this one?

Yes, but also feel free to close it yourself, I think you have sufficient rights


instantboxManager.py hint error

in file instantboxManager.py
raise Exception(
                'Could not load manifest.json. ' +
                'Download it from https://get.instantbox.org/manifest.json'
            )

but https://get.instantbox.org/manifest.json is not found
in Dockerfile .
ADD https://raw.githubusercontent.com/instantbox/instantbox-images/master/manifest.json .
https://raw.githubusercontent.com/instantbox/instantbox-images/master/manifest.json is valid!

Thanks! Fixed the https://get.instantbox.org/manifest.json link.
https://raw.githubusercontent.com/instantbox/instantbox-images/master/manifest.json is valid.


fix(app): Simplify converting 'No results found' to '0' to fix infini…

Description
In two of the PA dashboards, a Splunk dashboard work-around is used to display a "0" in single value visualizations instead of "No results found." The workaround works by checking the result count of the single value visualization search. If it is zero, then set the search output to 0 (instead of No results found). If the result is non-zero, do nothing.
This fancy token manipulation works great until and including Splunk v.8.0.8. In Splunk 8.1.0, this manipulation no longer works. Because the token is used in the search and is also set after the search, the visualization is sent into an endless loop of setting the token and therefore rerunning the search which resets the token. I have confirmed this by using the Splunk Dashboards Example "token debugger" to display the tokens in real-time. The tokens switch back and forth between 1 and 0. While this is not mentioned in the Splunk release notes, I don't believe this is a Splunk-side bug but rather an unfortunate unmentioned change. I would expect a search to rerun if a token inside the search is updated, and this is standard Splunk behavior in all other cases.
The fix is to use a simpler workaround. It is possible to display "0" instead of "No results found" without using tokens at all. That's all that this PR does.
Motivation and Context
This PR fixes #163.
How Has This Been Tested?
Only the two modified dashboards can be affected.
This was tested by running positive and negative searches with the new | appendpipe ... at the end. In the negative case, the results only display a count of 0. In the positive case, the appended count of 0 is hidden (because the base search is non-zero).
This was tested on Splunk 8.0.8 and 8.1.0 on Windows and Splunk 8.1.2 on CentOS. I did not test in 7.x, but I know that this fix functions the same way in those versions.
I spent awhile trying to test using the provided Docker config but was unable to get it working.
Screenshots (if appropriate)
Types of changes

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

Checklist

[ n/a ] I have updated the documentation accordingly.
[ x ] I have read the CONTRIBUTING document.
[ n/a ] I have added tests to cover my changes if appropriate.
[ unsure ] All new and existing tests passed.

@JacobPEvans  Thank you very much for submitting this. It really helps! I'll get this tested and merged asap.

@btorresgil You're quite welcome! Thank you for all of your work. If you need anything else from me, just let me know.


Change Page title

Hello @MAVRICK-1
Your page title looking like default React App and favicon also default one.

Please assign this issue to me
Let me change page title as project name and favicon as well.
Thanks in advance

@BHS-Harish thanks for the suggestion but this issue is already listead #3

@BHS-Harish  you can work on the title

Thanks for assigned the issue to me @MAVRICK-1


this.list[e].update is not a function

This happens for me after upgrading to 2.x. It seems to happen when easings are in progress and ease.removeAll() or ease.removeAllEases() is called.
this.list[e].update is not a function
    at update (/Volumes/Data/Workspace/touchtech/dsr-space-exploration/node_modules/pixi-ease/dist/ease.js:1)
    at TickerListener.emit (/Volumes/Data/Workspace/touchtech/dsr-space-exploration/node_modules/@pixi/ticker/lib/ticker.js:138)
    at Ticker.update (/Volumes/Data/Workspace/touchtech/dsr-space-exploration/node_modules/@pixi/ticker/lib/ticker.js:661)
    at Ticker._tick (/Volumes/Data/Workspace/touchtech/dsr-space-exploration/node_modules/@pixi/ticker/lib/ticker.js:367)```

Are you calling removeAll/Eases within the update loop?

Try v2.1.0. I made lots of bug fixes and added full test coverage. Hopefully that helps.

Fixed another bug that might have caused this error. v2.2.0

Awesome work! Yes, this seems to be resolved now!


Remove the section of the documentation that covered the usage of FQL

FQL is no longer supported from facebook or facepy so I removed the instructions for it in the documentation. It is a rather small change but people might get confused if that section remains

Indeed, thanks @dkazantzas!


Create firewall rules directly from live log

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Is your feature request related to a problem? Please describe.
When doing firewall migrations, i.e. building from scratch, especially when creating many rules (as in allow only what is needed), I find myself creating many rules by hand - the only way.
Describe the solution you like
I'd like a plus sign (or a similar button) on the live view beside the "i" button, to create a rule. Live log would be a perfect place to take "interface, destination (ip+port), protocol" and show me a template to create a firewall rule. I then just change what needed, and voila, rule is created.
Describe alternatives you considered
None, really.
Thank you.

I'll take a look at this when I have some spare time in about 12 hours. I'd really like this feature as well.

Sorry, was absent, just saw your message. Just wanted to say: That would really awesome! Thanks.

agreed, I ended up looking into it but im not that versed in php and work picked up. I may take another crack at it over the next few weeks.


cannot load markdown image in assets folder

I use the code to load markdown in assets folder
 markdownView.loadMarkdownFromAssets(detailModel.getHtml()+".md");
but cannot load the image in assets folder like
![](pic/15112671993156.jpg)
Thanks!

this is not supported.


feat: add AVAILABILITY_IGNORE macro to json-actor.h with comment

feat: add AVAILABILITY_IGNORE macro to json-actor.h with comment

@PapauloGamerOfc a great catch.
It's a bug in the current implementation.  I have fixed it without changing how json_inject is called. I will close this pull request. Please resubmit without the change in json-actor.h.  You only need to set A[0] = NULL.   It should just work as what you want.


Apollo启动Dreamvier+的时候报错

[lgh@in-dev-docker:/apollo]$ bash scripts/bootstrap.sh start_plus
nohup: appending output to 'nohup.out'
nohup: failed to run command 'cyber_launch': No such file or directory
[ERROR] Could not launch module monitor. Is it already built?
nohup: appending output to 'nohup.out'
nohup: failed to run command 'cyber_launch': No such file or directory
[ERROR] Could not launch module dreamview_plus. Is it already built?
请问该怎么解决呢？

The error message cannot find "cyber_launch". You must know that this is a basic module. If you downloaded the source code, have you compiled it?
By the way, please describe your problem clearly so that we can confirm the cause

我也遇到相同问题，请问解决了吗？编译过了

Can you initialize the environment first?
source cyber/setup.bash


How to secure :9090 endpoints

I wonder how to secure haproxy. For example I would like to use basic auth to limit access to some :9090. It's super weird that with default config for this project anyone can access getconfig.
Of course I could override whole HAPROXY_HEAD label but this seems a little bit odd (i need to keep super long string in my config to keep all defaults). Another idea would be to block access limit access via iptables.
Am I missing something?

+1

@krzkaczor Modifying HAPROXY_HEAD is the intended method to do this. Are there specific challenges you're facing in setting up authentication?

You can just close external access to port 9090


Define ill-formed joins in the spec

Currently the case for example in https://github.com/kg-construct/rml-core/blob/dd2c79428b5ae1702a3f1f4104b7b7977db32728/test-cases/RMLTC0009a-MySQL/resource.sql
CREATE TABLE student (
  Sport VARCHAR(50),
);
CREATE TABLE sport (
  ID INTEGER,
);

joinCondition: [ rml:parent "ID"; rml:child "Sport" ]

Already fixed in PostgreSQL #115
IMO it should be illegal in RML even if MySQL happens to so accept it
raised by @aklakan in the chat

nb. the source according to @pmaria https://www.w3.org/2001/sw/rdb2rdf/test-cases/#D009-2tables1primarykey1foreignkey has the correct types

Thanks for the issue!
I also agree that ill-formed joins must be rejected. We need to define such 'ill-formed joins' as they can also happen for example in XML or JSON. What happens then if you have a string "5" and integer 5?
RML-Core should define this as joins are part of RML-Core regarding the ReferenceObjectMap and also RML-Logical-View.
CC: @pmaria @andimou @elsdvlee

I think this issue should be fixed in #78, what do you think @elsdvlee @pmaria?

I think this issue should be fixed in #78, what do you think @elsdvlee @pmaria?

@dachafra yes we should be able to incorporate it in that PR eventually. First we need to do some more fundamental (re)writing.


Characters entering in the IME are not displayed

VSCode Version: Code 1.12.2 (19222cdc84ce72202478ba1cec5cb557b71163de, 2017-05-10T13:20:36.315Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

html-snippets
abusaidm
0.1.0

xml
DotJoshJohnson
1.7.0

vs-code-xml-format
fabianlauer
0.1.5

gc-excelviewer
GrapeCity
1.1.15

vscode-JS-CSS-HTML-formatter
lonefy
0.2.3

HTMLHint
mkaufman
0.3.3

mssql
ms-mssql
1.0.0

csharp
ms-vscode
1.9.0

vscode-docker
PeterJausovec
0.0.14

aspnet-helper
schneiderpat
0.6.3

ayu
teabyii
0.2.1

markdown-pdf
yzane
0.1.7

html-css-class-completion
Zignd
1.2.0

Steps to Reproduce:

change Theme to "Light(Visual Studio)" or other "Light" theme.
save file as "markdown" like foo.md
change input mode to "Hiragana"
enter characters.

Then, I cannot see characters entering in the IME.
When I enter characters in "Untitled Document", I can see characters.
And, when I use dark theme , I can see characters.
I prefer to use light theme, so I confused.
Is there any idea?

I can't reproduce this issue with 1.12.2 on Windows 10. Can you provide any screenshot or better gif to help troubleshoot?

thanks rebornix.
I found that I put 2 characters, they will be appear.
putting 1 character "a".  It isnt displayed

putting second character "a", characters are "aa". they are displayed.

another input hiragana "ka"
put "k" then "k" isnt displayed, put second "a" then hiragana "ka" will be displayed.

@okadabasso thanks for your detailed info. I can reproduce it now, looking into it.

System: Windows 10
VSCode 1.13
IME: Japanese and Korean

Switch to Japanese, create an untitled file, type k, you can see k in black with a white background. Press enter to choose the character.
Press k again, now the textarea moves a little bit. You can see a white block, Chromium paints k in white color. Then press a, now you see a black Japanese character.
I have no idea why our embedded Chromium paints the first character as white only when you use Japanese and Korean IME on Windows. Besides, if you type in characters at the beginning of the document, you will not run into the problem. Our textarea moving around cursor in IME triggers this problem.
cc @alexandrudima

@rebornix Interestingly these steps appear to be working for me?

@rebornix @okadabasso I am sorry, I cannot reproduce. Can you please give more precise/resilient steps ?

I found that It seems to have been fixed...


Refactor for dataset

I am a noob so it is very possible I did this super incorrectly

Looking good, thanks a lot!


CDAP-4251 Move to new configurer API

:+1:

thanks @bdmogal. Will merge after builds pass

@bdmogal Please review the last commit. Builds passed. Will squash and merge after your review.

:+1:


setDepthClipping - should allow for < minClip = 0

the old clipping method set pixels closer than minClip to 0 - the new approach setDepthClipping sets minClip to 255.
setDepthClipping implies clipping of the data .
would be great if it defaulted to the previous approach - or at least had an option to toggle whether minClip is 255 or 0

never mind - haha - I promise I will read the whole header file before submitting another issue.
:)

Please do that ... :P

sorry just looked at it properly. this issue is still valid. the bNearWhite is about the mapping of the data in range.
the clipping issue is still valid.

i changed this because it was inconsistent before. if we know something is close, we should report it as close rather than "no data". "no data" means something very different.
to explain the inconsistency a bit more: if we're in far = white mode (which, after all the discussion, i don't think anyone ended up using) and something is too far, should it also be = 0?
one more explanation -- if someone is standing at 1.5 m from the kinect and the clipping is at 1m, when they hold up their hand they would create a hole. that doesn't make any sense.
that said, if you want to add a method setClippedDataToZero() feel free!

yeah I think setClippedDataToZero makes sense.
its really handy to be able to ask for only things that lie between say 100cm and 150cm and not worry about weird foreground elements.

Hrm. Running the example returns 0's when my hand comes too close ... a hole is created. Is this not supposed to happen? Setting this to anything other then 0 dosen't make sense since how can we tell the difference between near and far noise/out of range values?

yeah that is the default behavior if your hand is closer than 40cm
but this is about what to do if you set the range to setDepthClipping(1000, 2000)   // 100cm to 200cm
before if you hand was closer than 100cm it would be black - now it gets clipped to white
so anything between 40cm - 100cm is white
what I was requesting was the option for the old behavior as it makes it really handy for public installations where you might only want to detect someone if they are within the specified range.
I have added ofxKinect::setClippedDataToZero(bool bZero) to my ofxKinect and it does the trick.
I'll merge it in a bit and close this issue.

Ok cool. Does the function name make sense if the near value is black? Perhaps we should just remove the near value setter anyway as I think everyone uses near = white.
Funny as I remember arguing for near = white when we first made ofxKinect ...


Improve CLI documentation

Provide complete npx commands for CI/CD.
We need to include --package flag so npx know what to run, such as  npx --package @sladg/nextjs-lambda next-utils pack

Fixed as part of TL;DR section.