The search_tesscut() method appears broken

Problem description
Search_tesscut() rarely works properly for me. It used to work with at least some regularity. As of a couple weeks ago, the only hitch was that it would not download a cutout if that same cutout had been downloaded immediately prior. Now I can't get it to work at all, and I've kind of hit a wall on my research project because of it. I honestly can't think of anything I've changed that would cause this to happen. Most of the targets I need to analyze don't turn up any results using search_targetpixelfile(), otherwise I'd just use that.
Example

import lightkurve
import numpy
import matplotlib as plt
from lightkurve import search_tesscut

#Search for and download target pixel file
TICarray = ['120896927', '178155732', '410214986', '441462736', '55652896', '290131778', '29857954', '394137592']

i = 0

searchparam = 'TIC ' + TICarray[i]
print('Searching...')
targetpixelfile = search_tesscut(searchparam).download(quality_bitmask='none')

#If the target pixel file was found and downloaded
#change it to a light curve file, plot it, and put it in a folder
if type(targetpixelfile) == lightkurve.targetpixelfile.TessTargetPixelFile:

    print('Found. Plotting...')

Expected behavior
It should download a cutout if there are search results for the TIC ID.
Actual behavior
SearchError: Unable to download FFI cutout. Desired target coordinates may be too near the edge of the FFI.

This happens even when I've been able to successfully download a cutout in the past.
Environment

platform (e.g. Linux, OSX, Windows): Windows 10
lightkurve version (e.g. 1.0b6): v1.1
installation method (e.g. pip, conda, source): conda

I confirm that there are one or two bugs here.  First, the the MAST TESScut service appears to timeout due to high demand, and the default SearchError misleadingly states that the main interpretation could be a field too close to the edge.  A fix should be to parse the HTTP code to see if a timeout occurred.  Another, unrelated problem may be occurring if you are using the development version of astroquery, but this latter problem has not been confirmed.

A temporary workaround-- you can visually inspect the urllib HTTP codes:
lightkurve.log.setLevel('INFO')

If you see 504 Gateway Timeout error HTTP status code, you can surmise that the MAST servers were getting overwhelmed with traffic.

@mustaric points out a hiccup in TESScut from the developer version of astroquery:

I talked to the astroquery.mast developer. Indeed in version 0.3.10dev MastClass has a function called resolve_object instead of _resolve_object. That is why [search_tesscut] is failing.

TODO:

[ ] Catch the 504 HTTP Request Status and present an informative error message
[ ] Future-proof against astroquery change to _resolve_object()

By the way-- @AngryKiwiNoises some other potential workarounds can be to check alternate TESScut venues to see if those are working. We have seen that some services continue to work while others do not (fickle behavior, not presently understood).
https://mast.stsci.edu/tesscut/
https://astroquery.readthedocs.io/en/latest/mast/mast.html
If you get the files locally you can still do:
import lightkurve as lk
tpf = lk.TessTargetPixelFile('local_tesscut_file.fits')

@AngryKiwiNoises search_tesscut() should be working more reliably now.  Are you seeing improved performance?

@gully I actually ended up keeping all the files I needed locally, downloading them using astroquery, so I can't say, but thanks for looking into it!

I verified that the code snippet posted at the start of this issue works again, i.e. the tesscut service appears to be operating normally.  I think we can close this issue.  (Let's deal with improving the error message in case of tesscut outages as a separate issue!)

This command now appears to be broken again. With the same issues as before. Is there any solution?

@rebekah9969 It appears to work for me at this time.
There are a few ways in which search_tesscut might fail (server-side outages, name resolving issues, etc.)  Could you open an issue with the specific code tried and the error message that was produced? Thanks+++.

Hello Geert
I am actually going through the How to cut out Target Pixel Files from
Kepler Superstamps or TESS FFIs? tutorial.
tpf = search_result.download(cutout_size=20) gives...
---------------------------------------------------------------------------IndexError
Traceback (most recent call
last)~/Desktop/TESS_LK/lightkurve/lightkurve/search.py in
_download_one(self, table, quality_bitmask, download_dir, cutout_size)
150
download_dir,--> 151
cutout_size)    152             except Exception as exc:
~/Desktop/TESS_LK/lightkurve/lightkurve/search.py in
_fetch_tesscut_path(self, target, sector, download_dir, cutout_size)
366         sec = TesscutClass().get_sectors(coords)--> 367
sector_name = sec[sec['sector'] == 1]['sectorName'][0]    368
if isinstance(cutout_size, int):
astropy/table/_column_mixins.pyx in
astropy.table._column_mixins._ColumnGetitemShim.getitem()
astropy/table/_column_mixins.pyx in astropy.table._column_mixins.base_getitem()
astropy/table/_column_mixins.pyx in
astropy.table._column_mixins.column_getitem()
IndexError: index 0 is out of bounds for axis 0 with size 0
During handling of the above exception, another exception occurred:
SearchError                               Traceback (most recent call
last) in       1 from lightkurve
import search_targetpixelfile----> 2 tpf =
search_result.download(cutout_size=20)
~/Desktop/TESS_LK/lightkurve/lightkurve/utils.py in wrapper(*args,
**kwargs)    471             sys.stdout = devnull    472
try:--> 473                 return f(*args, **kwargs)    474
restore to default    475             finally:
~/Desktop/TESS_LK/lightkurve/lightkurve/search.py in download(self,
quality_bitmask, download_dir, cutout_size)    236
quality_bitmask=quality_bitmask,    237
download_dir=download_dir,--> 238
cutout_size=cutout_size)    239     240
@suppress_stdout
~/Desktop/TESS_LK/lightkurve/lightkurve/search.py in
_download_one(self, table, quality_bitmask, download_dir, cutout_size)
161                     raise SearchError('Unable to download FFI
cutout. Desired target '    162
'coordinates may be too near the edge of the FFI.'--> 163
'Error: {}'.format(exc))    164     165
return _open_downloaded_file(path,
SearchError: Unable to download FFI cutout. Desired target coordinates
may be too near the edge of the FFI.Error: index 0 is out of bounds
for axis 0 with size 0
On Tue, Mar 10, 2020 at 1:56 PM Geert Barentsen<EMAIL_ADDRESS>wrote:

@rebekah9969 https://github.com/rebekah9969 It appears to work for me
at this time.
There are a few ways in which search_tesscut might fail (server-side
outages, name resolving issues, etc.) Could you open an issue with the
specific code tried and the error message that was produced? Thanks+++.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/KeplerGO/lightkurve/issues/595?email_source=notifications&email_token=AEFRHG7KQKOM2OIF3TT7RKLRGZ5K7A5CNFSM4IXWLKS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOMPP3Q#issuecomment-597227502,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEFRHGZMM5OWJ7RPXBEJ7ZLRGZ5K7ANCNFSM4IXWLKSQ
.

@rebekah9969 Weird.  The snippet below is working for me.  Does it still fail for you?  Please open a new issue if so!
import lightkurve as lk
search_result = lk.search_tesscut('HAT-P-11', sector=14)
tpf = search_result.download(cutout_size=20)

Yes I was running the same tutorial today and it failed to run tesscut.
AttributeError                            Traceback (most recent call last)
 in
----> 1 lk.search_tesscut('026.0170142608, -15.9374795978')
AttributeError: module 'lightkurve' has no attribute 'search_tesscut'
Then I tried the following as suggested but got the error:
AttributeError                            Traceback (most recent call last)
 in
----> 1 search_result = lk.search_tesscut('HAT-P-11', sector=14)
2 tpf = search_result.download(cutout_size=20)
AttributeError: module 'lightkurve' has no attribute 'search_tesscut'
Finally I tried this and it didn't work either.
import lightkurve as lk
import numpy
import matplotlib as plt
from lightkurve import search_tesscut
ImportError: cannot import name 'search_tesscut'
I will try again in a few days.

@AJAX6255 The error message suggests that your installation of Lightkurve does not have the search_tesscut method, which is most likely because it is an older version. I recommend upgrading to Lightkurve v1.11 and trying again.

Just reinstalled Lightkurve and updated to 1.11.1 with same results.
No emergency - I will just skip this section of the tutorial and proceed.
Thanks for the incredibly fast reply.
I am a noob with a lot to learn with lightkurve.
Thanks again @barentsen!

I also had the same issue when i updated to the latest version.
On Wed, Aug 26, 2020 at 7:45 PM Allan Jackson<EMAIL_ADDRESS>wrote:

Just reinstalled Lightkurve and updated to 1.11.1 with same results.
No emergency - I will just skip this section of the tutorial and proceed.
Thanks for the incredibly fast reply.
I am a noob with a lot to learn with lightkurve.
Thanks again @barentsen https://github.com/barentsen!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/KeplerGO/lightkurve/issues/595#issuecomment-681179905,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEFRHGZWKRZ36QG6ORXE2GLSCWNBTANCNFSM4IXWLKSQ
.

I am unable to reproduce this problem using Lightkurve v1.11.1 installed via pip.
Please try the example below, which installs Lightkurve in a fresh environment.  If the example below fails, please open a new issue with diagnostic information (including platform and Python version used).  If the example below works, then it is likely a local path problem.
$ python -m venv tmpenv
$ tmpenv/bin/python -m pip install lightkurve
$ tmpenv/bin/python -c "import lightkurve; print(lightkurve.__version__)"
1.11.1
$ tmpenv/bin/python -c "import lightkurve as lk; print(lk.search_tesscut('HAT-P-11', sector=14))"
SearchResult containing 1 data products.

 #   observation   target_name productFilename distance
--- -------------- ----------- --------------- --------
  0 TESS Sector 14    HAT-P-11         TESSCut      0.0


Disable search buttons while waiting

When the search button on the finder and solver pages is clicked, it triggers an async function to run the search.
However, the search button remains enabled while waiting for the results, allowing multiple instances of the async function to run.
The search button should be disabled until the function returns.

Potential solution: modify the event handler for the search button.
       private async void ToolSearch_Clicked(object sender, EventArgs e)
       {
               // Disable button here
               await Search();
               // re-enable button here
       }
}


Freezing the requirements.txt and python

Description
This PR aims to enhance the stability and reproducibility of our project by freezing the dependencies in requirements.txt and specifying the Python version used.
Changes
Freezing dependencies in requirements.txt:

All packages listed in requirements.txt now have specific version numbers.

Added a .python-version file to the project root, specifying the Python version used.

Motivation and Context
By freezing the requirements, we ensure that the environment is consistent, minimizing the risk of "it works on my machine" issues.

Thanks for specifying the versions!


Deposit reagents

In bank with reagent tab selected, right click deposit normal reagents rather than warbank items

I guess what I'm saying is that I'd like to be able to set preferences per category.
Example 1 - I'm Mining/Herbalism. When I click the "deposit to warbank" button, everything should go to Warbank (current functionality)
Example 2 - I'm Herbalism/Alchemy. When I click the "deposit to warbank" button, everything goes to warbank EXCEPT all my herbs. Those go, instead, to my Reagent bank so I can access them from the crafting tables and the auction house.
Make sense? Is that possible to do today in some form?

I guess what I'm saying is that I'd like to be able to set preferences per category.
Example 1 - I'm Mining/Herbalism. When I click the "deposit to warbank" button, everything should go to Warbank (current functionality)
Example 2 - I'm Herbalism/Alchemy. When I click the "deposit to warbank" button, everything goes to warbank EXCEPT all my herbs. Those go, instead, to my Reagent bank so I can access them from the crafting tables and the auction house.
Make sense? Is that possible to do today in some form?

Deposit functionality is tied to whatever Blizzard decides should be deposited when clicking the button.


Packaging with poetry

The pull request suggests using poetry as a package manager.
You might want to update some elements in pyproject.toml, especially version and dependencies.
Thank you.

Thanks for your contribution!
I know poetry is a good package manager, and I've often used it recently.
I think there is no problems with this fix, but I'm too busy to check it immediately.
Could you give me some time? I also want to add some minimal CI/CDs to this repo, so I hope to merge this after that works.


Add README + some comments in .env.example file

This merge request contains the addition of the README file and updated the .env.example file to include some comments as an guidance.

:thinking:

I need to do fix some merge conflicts. Press F.

And it lost my commits.
I'mma come back afterward.


[AVRO-2326] Bump netty-codec-http2 from 4.1.30.Final to 4.1.33.Final

https://jira.apache.org/jira/browse/AVRO-2326

@Fokko have you considered integrating a tool like dependabot to do this for you? They're free for open source.

Yes, that sounds like an idea, but then we need to think about how to assign tickets or generate the changelog.

@kojiromike dependabot is not allowed due to Apache rules. It requires write permission on the repository.


tags with same name / one lowercase

acts_as_taggable_on: 3.4 gem
rails: 4.2.2
I'm currently coding a cms with tagging and although autocomplete is added and working for tags, someone managed to duplicate a tag with lowercase instead of uppercase.
While the current tag "Branding" returned around 72 results, the newly added tag "branding" caused both tagged_with queries to return 0 results. Any possible validation to not allow an already available tag with just a different case?

You can set the option ActsAsTaggableOn.force_lowercase = true in config/initializers/acts_as_taggable_on.rb to ensure tags are saved in lowercase.

The solution above works for preventing that problem in the future. Is there anything built in to deal with existing duplicates? It's not possible to rename the first "Branding" tag as "branding" without first removing the "branding" tag.

@starspace1 I had to create a class to clean them up. Basically calling both methods on the tag with upcase chars:
class TagCleaner
  class << self

    def transfer_taggings_associations_and_delete from_tag, to_tag
      from_tag.taggings.find_each do |tagging|
        to_tag.taggings << tagging.dup
      end
      from_tag.destroy
    end

    def find_or_create_lowercase_related_tag tag
      lowercase_tag = ActsAsTaggableOn::Tag.find_or_create_by(name: tag.name.downcase)
    end
  end

end


Ghost fails to restart after upgrading from 3.9.x to 3.15.3

Issue Summary
Ghost fails to restart after updating from 3.9.x to 3.15.3 on Ubuntu 18.04.4 LTS with node 12.16.3 with backtrace:
May 12 00:40:33 www systemd[1]: Started Ghost systemd service for blog:
May 12 00:40:34 www node[1844]: - Inspecting operating system
May 12 00:40:34 www node[1844]: /var/www/ghost/versions/3.15.3/node_modules/fs-extra/lib/mkdirs/make-dir.js:86
May 12 00:40:34 www node[1844]:       } catch {
May 12 00:40:34 www node[1844]:               ^
May 12 00:40:34 www node[1844]: SyntaxError: Unexpected token {
May 12 00:40:34 www node[1844]:     at createScript (vm.js:80:10)
May 12 00:40:34 www node[1844]:     at Object.runInThisContext (vm.js:139:10)
May 12 00:40:34 www node[1844]:     at Module._compile (module.js:616:28)
May 12 00:40:34 www node[1844]:     at Object.Module._extensions..js (module.js:663:10)
May 12 00:40:34 www node[1844]:     at Module.load (module.js:565:32)
May 12 00:40:34 www node[1844]:     at tryModuleLoad (module.js:505:12)
May 12 00:40:34 www node[1844]:     at Function.Module._load (module.js:497:3)
May 12 00:40:34 www node[1844]:     at Module.require (module.js:596:17)
May 12 00:40:34 www node[1844]:     at require (internal/module.js:11:18)
May 12 00:40:34 www node[1844]:     at Object. (/var/www/ghost/versions/3.15.3/node_modules/fs-extra/lib/mkdirs/index.js:3:44)
To Reproduce

Use ghost update to upgrade from 3.9.x to 3.15.3

Expected: after updating ghost starts without issue
Actual: ghost update upgrades install but stalls at ☴ Starting Ghost, systemctl reports status Active: failed (Result: start-limit-hit)
Technical details:

Ghost Version: 3.15.3
Node Version: 12.16.3
Browser/OS: Ubuntu 18.04.4 LTS
Database<EMAIL_ADDRESS>

Fixed, my node version was 12.16.3 but nodejs was still on 8.x. Working after upgrading nodejs to 12.16.3 as well.


[bug] AssertionError: use_ground_plane is True but find plane is None

Describe the bug
in raw version about kitti model, after run 'python tools/train.py configs/pv_rcnn/pv_rcnn_8xb2-80e_kitti-3d-3class.py --work-dir works_dir/debug', show the following:
AssertionError: use_ground_plane is True but find plane is None.
But I already prepare planes files in training floder.

Whether your annotation files have 'plane' information? You can use the annotation file we provided to have a try.
More details can be found here: https://github.com/open-mmlab/mmdetection3d/blob/dev-1.x/docs/en/user_guides/dataset_prepare.md#summary-of-annotation-files

I forget add '--with-plane' in when 'python tools/create_data.py'. The docs of you mentioned should be updated. 'python tools/create_data.py kitti --root-path ./data/kitti --out-dir ./data/kitti --extra-tag kitti --only-gt-databse' will occure 'error: unrecognized arguments: --only-gt-databse'

Can you create a PR to help us update the docs?

Sure! I`ll do it soon.

how to download this kitti plane?

@HXB-1997 You can download the road planes here.

@HXB-1997 You can download the road planes here.

thanks


pythonPackages.jpylyzer: 1.18.0 -> 2.0.0

Motivation for this change
Enabling tests at the same time.
This has a large list of reverse dependencies, but that is deceptive - it's merely that jpylyzer is a checkInput for openjpeg. So I haven't done the rebuild for this, but I'd argue that's ok because it's a purely transitive dependency.
Tested non-nixos linux x86_64, macos 10.14.
Things done

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

[ ] NixOS
[x] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build python38Packages.jpylyzer python27Packages.jpylyzer openjpeg

since this casuses 1000+ rebuilds, do you mind targeting staging?

Yup good call...

@GrahamcOfBorg eval

@GrahamcOfBorg build openjpeg

Rebased against newer staging.

@ofborg eval


resetting blockchain for multibit wallet removed all of my receiving addresses, balance = 0 BTC now

Hi,
I transferred about $500 to my multibit wallet but couldn't send it anywhere as the send button was greyed out. After taking too many hours to not even finish synchronizing I clicked to reset the blockchain, and then after reading online downloaded multibit classic 0.5.19. I have tried to open my wallet in each and synchronizing won't update the wallet. Multibit only shows four transactions from 2014, and one address. hundreds of addresses and transactions are missing.
I have tried exporting the private keys to send to a blockchain.info wallet however only the one private key is imported and that is showing 0 BTC in it. What can be done?

Old wallets take a while to synchronize now - your best bet is to find a fast network connection - MB/s is what you need. MultiBit connects to peers randomly at start up so if you have a slow peer then shut it down and restart it and try connecting to something faster.
Reseting the blockchain you probably did not need to do. That clears out the wallet and does a full resync which would have meant your sync was even longer.
Exporting your private keys is the fastest way to get access to your bitcoins.
Have a look in the unencrypted private key file. You should see one private key for each address that you have. There is a big comment in the header that explains the syntax.
You might want to import them one by one into blockchain.info to go through them systematically.

Hi Jim,
Thanks for getting back to me. I'm on a 13MB/s wireless connection right now.
I have already tried exporting my private keys and the thing is that my multibit wallet now only shows one address, meaning that only one private key gets exported. The one remaining address has four transactions from 2014, but any address added after that isn't there anymore.
I have checked on the blockchain https://blockchain.info/address/1JdFnqh4oWgBNFaNnCao7CYaFoRKvJWGBs and my money is still at my address unused, how can I access it again?
Thanks,
Sam

Did you ever get this figured out? I have a similar problem and was hoping you might have found the answer.  Thanks

I haven't, and at this stage am giving up. It seems to me that the wallet key pairs were somehow deleted and are unrecoverable.

hi, did you worked this out or it still the same problem?
contact me on innominatus010101 @ gmail.com
i might help you here

Hi @samlasalle @fbomb1   sorry to hear you are facing issues with MultiBit. I would suggest you contact the KeepKey Support Desk at https://keepkey.freshdesk.com/support/solutions.


make the testjob source dir configurable

What type of PR is this?
feature
What this PR does / Why we need it?
Currently, we have the ocm backplane testjob command to test the script with custom image, but it has to be run under the script dir
Add the new parameter to specify the source dir for the script
Which Jira/Github issue(s) does this PR fix?
Resolves #
Special notes for your reviewer
Pre-checks (if applicable)

[x] Ran unit tests locally
[x] Validated the changes in a cluster
[ ] Included documentation changes with PR

Codecov Report
Attention: Patch coverage is 90.47619% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 48.40%. Comparing base (6bc8b44) to head (2208fd3).

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #367      +/-   ##
==========================================
+ Coverage   48.27%   48.40%   +0.12%
==========================================
  Files          55       55
  Lines        4182     4196      +14
==========================================
+ Hits         2019     2031      +12
- Misses       1844     1845       +1
- Partials      319      320       +1

Files
Coverage Δ

cmd/ocm-backplane/testJob/createTestJob.go
72.35% <90.47%> (+1.19%)
:arrow_up:

/retest

/retest

/retest

@hectorakemp thanks for review.
Have added a new function checkDirectory() to ensure the given directory is valid. And related test added.


News carousel issue

After adding webpart getting error in Mozilla : Unite Gallery Error: You have some jquery.js library include that comes after the gallery files js include.
This include eliminates the gallery libraries, and make it not work.
To fix it you can:
1. In the Gallery Settings -> Troubleshooting set option: Put JS Includes To Body option to true.
2. Find the double jquery.js include and remove it.
Other browser are just blank

Same issue as #31


pip3 install -r python-requirements.txt fails

(.venv) ~/sonata-system % pip3 install -r python-requirements.txt
Collecting git+https://github.com/lowRISC/edalize.git@ot (from -r python-requirements.txt (line 13))
Cloning https://github.com/lowRISC/edalize.git (to revision ot) to /tmp/pip-req-build-zpcmnb8z
Running command git clone -q https://github.com/lowRISC/edalize.git /tmp/pip-req-build-zpcmnb8z
Running command git checkout -b ot --track origin/ot
Switched to a new branch 'ot'
Branch 'ot' set up to track remote branch 'ot' from 'origin'.
Collecting git+https://github.com/lowRISC/fusesoc.git@ot (from -r python-requirements.txt (line 16))
Cloning https://github.com/lowRISC/fusesoc.git (to revision ot) to /tmp/pip-req-build-twxj7lb5
Running command git clone -q https://github.com/lowRISC/fusesoc.git /tmp/pip-req-build-twxj7lb5
Running command git checkout -b ot --track origin/ot
Switched to a new branch 'ot'
Branch 'ot' set up to track remote branch 'ot' from 'origin'.
Collecting anytree
Using cached anytree-2.12.1-py3-none-any.whl (44 kB)
Collecting hjson
Using cached hjson-3.1.0-py3-none-any.whl (54 kB)
Collecting mako
Using cached Mako-1.3.2-py3-none-any.whl (78 kB)
Collecting pyyaml
Using cached PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (736 kB)
Collecting wheel
Using cached wheel-0.43.0-py3-none-any.whl (65 kB)
Collecting Jinja2>=2.11.3
Using cached Jinja2-3.1.3-py3-none-any.whl (133 kB)
Collecting pyparsing
Using cached pyparsing-3.1.2-py3-none-any.whl (103 kB)
Collecting simplesat>=0.8.0
Using cached simplesat-0.8.2-py2.py3-none-any.whl (246 kB)
Collecting six
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting MarkupSafe>=0.9.2
Using cached MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26 kB)
Collecting attrs>=17.4.0
Using cached attrs-23.2.0-py3-none-any.whl (60 kB)
Collecting okonomiyaki>=0.16.6
Using cached okonomiyaki-1.4.0-py2.py3-none-any.whl (3.1 MB)
Collecting jsonschema>=2.5.1
Using cached jsonschema-4.21.1-py3-none-any.whl (85 kB)
Collecting zipfile2>=0.0.12
Using cached zipfile2-0.0.12-py2.py3-none-any.whl (44 kB)
Collecting distro; sys_platform == "linux"
Using cached distro-1.9.0-py3-none-any.whl (20 kB)
Collecting referencing>=0.28.4
Using cached referencing-0.34.0-py3-none-any.whl (26 kB)
Collecting jsonschema-specifications>=2023.03.6
Using cached jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB)
Collecting importlib-resources>=1.4.0; python_version < "3.9"
Using cached importlib_resources-6.4.0-py3-none-any.whl (38 kB)
Collecting rpds-py>=0.7.1
Using cached rpds_py-0.18.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Collecting pkgutil-resolve-name>=1.3.10; python_version < "3.9"
Using cached pkgutil_resolve_name-1.3.10-py3-none-any.whl (4.7 kB)
Collecting zipp>=3.1.0; python_version < "3.10"
Using cached zipp-3.18.1-py3-none-any.whl (8.2 kB)
Building wheels for collected packages: edalize, fusesoc
Building wheel for edalize (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/jan/sonata-system/.venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-zpcmnb8z/setup.py'"'"'; file='"'"'/tmp/pip-req-build-zpcmnb8z/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-gquf3s7q
cwd: /tmp/pip-req-build-zpcmnb8z/
Complete output (6 lines):
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
ERROR: Failed building wheel for edalize
Running setup.py clean for edalize
Building wheel for fusesoc (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/jan/sonata-system/.venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-twxj7lb5/setup.py'"'"'; file='"'"'/tmp/pip-req-build-twxj7lb5/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-we9a11kf
cwd: /tmp/pip-req-build-twxj7lb5/
Complete output (23 lines):
WARNING: The wheel package is not available.
WARNING: The wheel package is not available.
WARNING: The wheel package is not available.
WARNING: The wheel package is not available.
/tmp/pip-req-build-twxj7lb5/.eggs/setuptools_scm-8.0.4-py3.8.egg/setuptools_scm/_integration/setuptools.py:30: RuntimeWarning:
ERROR: setuptools==44.0.0 is used in combination with setuptools_scm>=8.x
Your build configuration is incomplete and previously worked by accident!
setuptools_scm requires setuptools>=61
Suggested workaround if applicable:

migrating from the deprecated setup_requires mechanism to pep517/518
and using a pyproject.toml to declare build dependencies
which are reliably pre-installed before running the build tools

warnings.warn(

WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
ERROR: Failed building wheel for fusesoc
Running setup.py clean for fusesoc
Failed to build edalize fusesoc
Installing collected packages: six, anytree, hjson, MarkupSafe, mako, pyyaml, wheel, Jinja2, edalize, pyparsing, attrs, rpds-py, referencing, zipp, importlib-resources, jsonschema-specifications, pkgutil-resolve-name, jsonschema, zipfile2, distro, okonomiyaki, simplesat, fusesoc
Running setup.py install for edalize ... done
Running setup.py install for fusesoc ... done
Successfully installed Jinja2-3.1.3 MarkupSafe-2.1.5 anytree-2.12.1 attrs-23.2.0 distro-1.9.0 edalize-0.3.3 fusesoc-0.1 hjson-3.1.0 importlib-resources-6.4.0 jsonschema-4.21.1 jsonschema-specifications-2023.12.1 mako-1.3.2 okonomiyaki-1.4.0 pkgutil-resolve-name-1.3.10 pyparsing-3.1.2 pyyaml-6.0.1 referencing-0.34.0 rpds-py-0.18.0 simplesat-0.8.2 six-1.16.0 wheel-0.43.0 zipfile2-0.0.12 zipp-3.18.1
(.venv) ~/sonata-system %
I am using Ubuntu 20.04.

Thanks for the report @janhoogerbrugge. Please note the sonata system is still in an early development phase and is not ready for wider use. This is reflected not only in functionality of the system itself but also in documentation, build and setup components. We will be providing documentation, getting started guides and all of the build/setup tooling around it but it's not the priority right now. As such you may find multiple issues when trying to do your own build.

I've seen this error before. You need to execute the same command again, then it should succeed.

Indeed if I execute it once more then it succeeds.
I did this before reporting this issue but then fusesoc was failing with:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa8 in position 72: invalid start byte
My first reaction was that this was because of the error reported during installation of the packages.
When I tried to debug the error I discovered that the error was because fusesoc scans for .core files and found many of them in the cheriot-llvm directory. They have the same extension but the content is very different ;-). After moving the cheriot-llvm directory to another place fusesoc seem to run fine.

Yes, this is a downside of fusesoc unfortunately. You can always place a file named FUSESOC_IGNORE in folders that you don't want fusesoc to browse.


Move binarySearchFirstItem back to the web/-folder (PR 15237 follow-up)

This was moved into the src/display/-folder in PR #15110, for the initial editor-a11y patch. However, with the changes in PR #15237 we're again only using binarySearchFirstItem in the web/-folder and it thus seem reasonable to move it back there.
The primary reason for moving it back is that binarySearchFirstItem is currently exposed in the public API, and we always want to avoid that unless it's either PDF-related functionality or code that simply must be shared between the src/- and web/-folders. In this case, binarySearchFirstItem is a general helper function that doesn't really satisfy either of those alternatives.

/botio test

Looks good; thanks!


added HipSYCL (OpenSYCL?) version 0.9.4

Added hipsycl (now opensycl) v0.9.4 and made preferred.
A local memory bug with the cuda-nvcxx backend is fixed in hipsycl 0.9.4 and nvhpc 22.9. We use sycl local memory in the upcoming 2D3V evaluation/projection kernels.
Placed a minimum 22.9 version requirement on nvhpc for the nvcxx backend.

Tests

Checked unit/integration tests (on NESO main) passed (omp backend).

Happy to approve this, but one small thing first. You should put the different versions in descending order. In that case you won't need to specify one as preferred either, as the first one listed is preferred by default. Not a new issues obviously, but only just noticed it.

Thanks - Reordered versions and removed a spurious maintainer line.

OK, all merged. Remember to update the commit the submodule points to in the main NESO repository.


Add sparkpost

[x] tests
[x] readme

cc @stevedomin
closes #103

I've tested locally and successfully sent emails via SparkPost.

ping @stevedomin

@princemaple reviewing now!

Looks great, thanks so much for working on it!

Thanks for merging. Any chance making a release for this sometime soon?

@princemaple 0.7 is out! Let me know if you run into any bugs.


initDIV() and bootstrap css

First of all let me say thank you very much for your work on this project, I have learned a lot from it.
Not sure if this is a bug or user error.  I have created my own Chiasm component called DataTable.  This component uses d3 to build an HTML <table>.  In the components constructor I do
var div = d3.select(my.initDIV());

and then hang all the table stuff off this div.
I am following your Chiasm bootstrap example where you use the layout plugin to select the DOM elements.  I want use the bootstrap grid system.  The problem seems to be initDIV() sets the style of the div to be style="position: absolute; left: 0px; top: 0px;" which doesn't play nice with the bootstrap container.
I think I could fix this by selecting the containerSelector value that I give the layout plugin in the component, but I am not sure how to do that.
Thanks again!
Scott

Hi Scott,
This is great feedback, thank you. I can understand the issue you are facing. I believe the style is coming from chiasm-layout, line 89.
The larger issue here is that there really should be two separate components, one that does nested box layout (this is chiasm-layout), and another one that simply injects components into existing divs (I think this is what you are looking for). I've been meaning to create this for a while. This issue might be a good catalyst, and it shouldn't be that difficult. I know @Arne-Pfeilsticker is also interested in this.

Thanks for the quick reply.  I think you understand the situation perfectly, injecting the component into an existing div is what I need.  I would be willing to take a crack at implementing this if you are interested.  If you want to create a repo + issue we can continue the discussion there.
Cheers.

Great, thank you for volunteering to work on this. I would welcome your work on this. Let's continue the discussion over at https://github.com/chiasm-project/chiasm-injector/issues/2

Also, is the code for your DataTable module Open Source? That would make a great addition to the Chiasm collection of modules. Here's what I have as a starting point for an HTML table Chiasm component, perhaps your implementation is similar.

I could open source it yes.  My implementation looks fairly similar to yours on the surface.  I have added a few features I needed such as being able to supply formatter callbacks for each column.  Would welcome your input.

Closing, issues moved to:

Complete chiasm-injector https://github.com/chiasm-project/chiasm-injector/issues/2
Fix Broken CSS positioning https://github.com/chiasm-project/chiasm-layout/issues/4


Useful promise stack traces in node.js

[FEATURE] When in debug mode, print out a haxe.PosInfo driven psuedo-stack trace, since the node.js stack traces are completely useless. Unit test included.

Please take a look at the cast calls. I had an issue with compiler errors regarding promises expecting Option objects instead of the previously typed value, and I couldn't figure out where the issue was.

Yeah, the cpp tests are failing. Turns out I can't just use the casts. The actual issue is still hard to figure out, I don't understand why its wanting a haxe.ds.Option value.

Fixed the compile issue.

Cool, thanks for this!


StoreGeneratedPatten vs DatabaseGenerated enum

StoreGeneratedPatten has TODO note to replace it with enum from data annotations. Since we are using DataAnnotations now, decide whether we want to use StoreGeneratedPattern or DatabaseGenerated enum

Not required anymore after #2548 .


[NFC] Fix typos

@swift-ci Please smoke test

LGTM!
It would be good to be a single commit, but I think this could be squashed on merge

I’ll switch to doing that. Wasn’t sure if we wanted different commit message for each of the typos (for git blame).

@swift-ci Please smoke test

⛵


Adds report templating

Fixes #134

Thanks @joshuata!
I get some test failures here:

Backticks missing from function names in markdown:

$ diff tests/testdata/outputs_expected/rubixi.sol.o.markdown tests/testdata/outputs_current/rubixi.sol.o.markdown
1c1
< # Analysis results for test-filename.sol
---
> # Report
7c7
< - Function name: `_function_0x4229616d`
---
> - Function name: _function_0x4229616d
17a18

It seems that in JSON output, the name of the "address" field has changed to "pc" (this could break the API for example).

<             "title": "Dependence on predictable environment variable",
<             "description": "In the function `_function_0xe9874106` the following predictable state variables are used to determine Ether recipient:\n- block.coinbase\n",
---
>             "contract": "Unknown",
8a8,9
>             "pc": 1285,
>             "title": "Dependence on predictable environment variable",
10,11c11,15
<             "address": 1285,
<             "debug": "<DEBUG-DATA>"
---
>             "description": "In the function `_function_0xe9874106` the following predictable state variables are used to determine Ether recipient:\n- block.coinbase\n",
>             "debug": "<DEBUG-DATA>",
>             "filename": "test-filename.sol",
>             "code": null,
>             "lineno": null

#134 has been fixed in the meantime. Also it's getting complicated to merge this because of conflicts and the attr changes rolled into this PR.
Can you split this up into smaller changes?

Yep. I'm on it.


more robust version

Hello, are you thinking about releasing a more robust version ? More accurate ? Thank you

At present, I can do the best.

Can we discuss it ? Do you have an email address ? Thank you
On Wed, 6 May 2020 at 22:34 syaringan357<EMAIL_ADDRESS>wrote:

At present, I can do the best.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/syaringan357/Android-MobileFaceNet-MTCNN-FaceAntiSpoofing/issues/15#issuecomment-624977979,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANZOU6CMKLVT6WNJECSEUITRQIF2LANCNFSM4M2XK7GA
.

--
Nizar Elouaer
Technical Manager
Engineering | t4isb
+5515996925813
<EMAIL_ADDRESS>www.t4isb.com
Av Cidade Jardim, 400, São Paulo, Brazil


Pin To Launcher missing in current M365 tenant?

Hi there, we discovered the Pin to Launcher is not available on most of the tenant we manage.  Is this feature still valid?

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

ID: 9488caf7-b791-3002-8749-7fdc4b2ec8b3
Version Independent ID: 08e61eb0-7bcd-f449-46ef-17e209138a8e
Content: Add custom tiles to the app launcher - Microsoft 365 admin
Content Source: microsoft-365/admin/manage/customize-the-app-launcher.md
Service: o365-administration
GitHub Login: @twernermsft
Microsoft Alias: twerner

@kangdu Thank you for your feedback. I tested it in two tenants and It is visible on both. The other requirement is that you should have an Exchange Online mailbox assigned to you and you've signed into your mailbox at least once. These steps are required for custom tiles in Microsoft 365.
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @kangdu Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Fix Windows warning in binding.gyp for Win10 console

According to #10458, this modification is needed to correctly display the warning about OpenSSL include paths in the Windows 10 console.

Can we run an artifact build from this branch to fully test ?

The Windows tests ran the Windows build. That should verify that this works on our current build system.

Performance differences noted:
Benchmark                                  allocs_per_iteration    atm_add_per_iteration    atm_cas_per_iteration      cpu_time  locks_per_iteration      real_time  writes_per_iteration
-----------------------------------------  ----------------------  -----------------------  -----------------------  ----------  ---------------------  -----------  ----------------------
BM_IsolatedFilter<HttpClientFilter, NoOp>                                                                                -7.50                               -7.50

There is a successful Windows build of this branch here: https://grpc-testing.appspot.com/view/Artifacts/job/gRPC_build_artifacts/3195/. The failing Windows build is for an unrelated reason.

The interop failures are #10525. The bazel basic build failure is #10553.


click_on "identificator", visible: false doesn't work

subj.
@keathley I found that
find("identificator", visible: false) # => works well
click_on("identificator", visible: false) # => doesn't work, it writes me element was found but its not visible to a real user

Is there any sort of workaround for this issue?

@jpettit you can find the element and then chain that with click. Something like this:
find("identifier", visible: false)
|> click()

This will be fixed with the fix for #114. It should be in the next release.

This has been fixed with the new Query module.


Fixed EXT_CFLAGS option support for ARC.

This PR brings small update for Makefile to support EXT_CFLAGS feature: https://github.com/tensorflow/tflite-micro/tree/main/tensorflow/lite/micro/kernels/arc_mli#scratch-buffers-and-slicing.
BUG=#719

Updated.

Updated.

Updated.

Updated.

Updated. @advaitjain, please review this one.


#771 made static texts translatable

I added a few __(...) for translations.
The i18n library used for translation renders an error if the message key is undefined. Unfortunately in some cases this has happened and therefore I added the | d('') to avoid errors.

Thanks! I changed the approach for the login error message a little and in the process made them actually work (they didn't before, whoops). Otherwise accepted it as-is.


Performance improvements.

Combination of performance improvements after some in depth profiling of Chevrotain running under V8.
fixes #248

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Dapr installation times out in CI

The installation of the Dapr runtime is failing in GitHub actions, just after "pulling images from docker hub" is printed.

@lkingland is this because registry outage or some IP throttling?

I guess this is know issue when GH Action cannot pull from docker.io because too many pulls.

I don't know why but it seems dapr installation just started working on its own.

I don't know why but it seems dapr installation just started working on its own.

That's good.  I figured it was a transient failure, probably throttling as you guessed as well.
We have some tech debt here:  we're dependent on both docker.io and ttl.sh for our CI.


fix: Slack log service

Description

This updates the Slack --log-service  feature added in #170.
The Slacker package is no longer maintained, and legacy slack tokens are no longer generatable.
I've replace it with the officially supported Slack SDK (see setup.cfg), preserving the original functionality with minimal adjustments.
This has been minimally tested for functionality. However, the original implementation has a couple issues (which this PR does not address) -

Lack of docs/ on how to set up the --log-service slack feature via Slack
Logic is not robust - e.g. when msg["done"] == msg["total"], this does not mean the workflow is complete (checkpoints)
The implementation of  --log-service slack is synchronous, meaning that Snakemake workflows will wait for the implemented log_handler function to finish. For normal print statements, this isn't an issue, but repeated calls of Slack WebAPI's postMessage can significantly slow things down. Depending on the workflow (Snakefile), this can become noticeable.
The implementation does not comply with Slack WebAPI's rate limiting.

The current implementation will look like this - messages on slack are sent by the user, using a user OAuth token.

I've already addressed points 2, 3, and 4 in a private repository using --log-handler that should be integrable into this current implementation, but it has not been robustly tested (integration can happen at a later PR).

Thanks!
QC

[ ] The PR contains a test case for the changes or the changes are already covered by an existing test case.
[ ] The documentation (docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).

Cool! Log handlers like this are also candidates for turning them into plugins. But I first have to design the interface for that. Of course, if you are interested, you could also give this a try. One would basically follow the same approach as with snakemake-interface-storage-plugins. We can however merge this first. May I ask you to format the code with black?


Fixed S3 HTTP URL for /static and /media storages

Description
Fixing a bug
Rationale
It's broken
Use case(s) / visualization(s)
N/A

Why do you think it's broken?

Ok for some reason they seem to work on my current project. But a few weeks ago I had a problem. So I am going to close it until I can reproduce it again.

It looks like the URL we use currently might not work if you choose a region other than US East (N. Virginia)

in a path-style URL, the bucket name is not part of the domain (unless you use a Region-specific endpoint). For example:

US East (N. Virginia) Region endpoint, http://s3.amazonaws.com/bucket
Region-specific endpoint, http://s3-aws-region.amazonaws.com/bucket

Ah that makes sense as few weeks ago my project hosted under ca-central-1 and now I am using us-east-1.

Thanks for the contribution :tada:

I just found out today!


Hard Sudoku Solver  --  I can't access the discussion

Hi
I'm in this kata https://www.codewars.com/kata/5588bd9f28dbb06f43000085/train/python
It looks like there's a bug in the tests
But I can't access the discussion page and report an error
What should I do
this is table
[[4, 0, 5, 0, 1, 0, 7, 0, 8], [0, 0, 7, 0, 0, 5, 0, 0, 0], [0, 3, 0, 7, 0, 0, 0, 5, 0], [0, 0, 3, 0, 0, 0, 0, 0, 5], [0, 4, 0, 2, 0, 8, 0, 6, 0], [5, 0, 0, 0, 0, 0, 1, 0, 0], [0, 7, 0, 0, 2, 3, 0, 1, 0], [0, 0, 0, 4, 0, 0, 2, 0, 0], [9, 0, 6, 0, 7, 0, 4, 0, 3]]
this my result
[[4, 9, 5, 6, 1, 2, 7, 3, 8], [6, 1, 7, 8, 3, 5, 9, 4, 2], [2, 3, 8, 7, 9, 4, 6, 5, 1], [7, 6, 3, 1, 4, 9, 8, 2, 5], [1, 4, 9, 2, 5, 8, 3, 6, 7], [5, 8, 2, 3, 6, 7, 1, 9, 4], [8, 7, 4, 9, 2, 3, 5, 1, 6], [3, 5, 1, 4, 8, 6, 2, 7, 9], [9, 2, 6, 5, 7, 1, 4, 8, 3]]
why I get
Invalid grid should raise an error.

I'll bet you didn't check the solution is unique? because that makes the grid invalid too, according to the requirements.

I can't access the discussion page

Your email account is probably unconfirmed. Go to "Account Settings" and find the button that says "Resend Confirmation Email" (or something to that effect).

אני בטוח שלא בדקת שהפתרון הוא ייחודי? מכיוון שזה הופך את הרשת גם לא תקף, בהתאם לדרישות.

I chacked

you mean "checked"?

confirmed: there are several solutions for this input grid. Your code is incorrect/
{(
(4, 9, 5, 6, 1, 2, 7, 3, 8),
(6, 1, 7, 8, 3, 5, 9, 4, 2),
(2, 3, 8, 7, 4, 9, 6, 5, 1),
(7, 6, 3, 1, 9, 4, 8, 2, 5), <<<
(1, 4, 9, 2, 5, 8, 3, 6, 7),
(5, 8, 2, 3, 6, 7, 1, 9, 4),
(8, 7, 4, 9, 2, 3, 5, 1, 6),
(3, 5, 1, 4, 8, 6, 2, 7, 9),
(9, 2, 6, 5, 7, 1, 4, 8, 3)),
(
(4, 9, 5, 6, 1, 2, 7, 3, 8),
(6, 1, 7, 8, 3, 5, 9, 4, 2),
(2, 3, 8, 7, 9, 4, 6, 5, 1),
(7, 6, 3, 1, 4, 9, 8, 2, 5), <<<
(1, 4, 9, 2, 5, 8, 3, 6, 7),
(5, 8, 2, 3, 6, 7, 1, 9, 4),
(8, 7, 4, 9, 2, 3, 5, 1, 6),
(3, 5, 1, 4, 8, 6, 2, 7, 9),
(9, 2, 6, 5, 7, 1, 4, 8, 3))}

But why don't I have chat access
In this kata

In another kata

that, on the other hand, is weird, yes...

Yes very weird
I tried to disconnect and connect
Nothing helped

For some reason, the discuss button in trainer is only shown if you've already completed it or have enough rank to unlock the solution and forfeit. It's been like this for at least 3 years. I'll close this when the fix is deployed.
@YOEL311 For now, you can find the link to the discussion page from the kata page. Or just append /discuss to the kata's URL. https://www.codewars.com/kata/5588bd9f28dbb06f43000085/discuss

Should be fixed now.


Locale RU does not work since version 4.*

When selecting the RU locale, the first day of the week is Sunday. It is impossible to change to Monday. In version 3.8 everything worked and since 4 it does not work anymore

PR #3045 possibly fixes this issue

It is because in the new version locale is not used for startOfWeek (https://github.com/Hacker0x01/react-datepicker/blob/60f1aa48e7e1116a54cfda1f0449f6c945250245/src/week.jsx#L92). I think it is definitely bug but there is a this.props.calendarStartDay used instead of locale value. In the new version you can set calendarStartDay props as a temporary solution:
<DatePicker
      calendarStartDay={1}
      selected={startDate}
      onChange={(date) => setStartDate(date)}
      locale="en-GB"
      placeholderText="Weeks start on Monday"
    />


feat: add kubeshark/kubeshark

kubeshark/kubeshark: The API traffic viewer for Kubernetes providing real-time, protocol-aware visibility into Kubernetes’ internal network, capturing, dissecting and monitoring all traffic and payloads going in, out and across containers, pods, nodes and clusters. Think TCPDump and Wireshark re-invented for Kubernetes
$ aqua g -i kubeshark/kubeshark

How to confirm if this package works well
Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well. Please confirm if this package works well yourself as much as possible.
Command and output
$ kubeshark --help
Kubeshark: The API Traffic Viewer for Kubernetes
An extensible Kubernetes-aware network sniffer and kernel tracer.
For more info: https://kubeshark.co

Usage:
  kubeshark [command]

Available Commands:
  check       Check the Kubeshark resources for potential problems
  clean       Removes all Kubeshark resources
  completion  Generate the autocompletion script for the specified shell
  config      Generate Kubeshark config with default values
  help        Help about any command
  logs        Create a ZIP file with logs for GitHub issues or troubleshooting
  proxy       Open the web UI (front-end) in the browser via proxy/port-forward.
  tap         Capture the network traffic in your Kubernetes cluster.
  version     Print version info

Flags:
      --configpath string   Override config file path using --configpath (default "/home/<user>/.kubeshark/config.yaml")
  -d, --debug               Enable debug mode.
  -h, --help                help for kubeshark
      --set strings         Override values using --set

Use "kubeshark [command] --help" for more information about a command.

Thank you for your contribution!

@CrystalMethod Thank you for your review!

Let me add some commits.

Was kubeshark formely mizu?
https://github.com/kubeshark/kubeshark/releases/tag/36.0

https://github.com/up9inc/mizu is redirected to https://github.com/kubeshark/kubeshark .
And aqua-registry already contains up9inc/mizu.
So we should merge up9inc/mizu to kubeshark/kubeshark.

https://github.com/up9inc/mizu is redirected to https://github.com/kubeshark/kubeshark . And aqua-registry already contains up9inc/mizu.
So we should merge up9inc/mizu to kubeshark/kubeshark.
ref. https://aquaproj.github.io/docs/reference/registry-config/aliases

Done.

@suzuki-shunsuke
Thanks for the assistance on this PR. In future I'd be happy to put in the required work myself with just some pointers to the relevant documentation.

Thank you. We always welcome your contribution.
And I'm sorry for preventing you from fixing this pr yourself.
I'll take care in the next time.

Released. https://github.com/aquaproj/aqua-registry/releases/tag/v3.132.0


fix: ExtractSummaryAction to ExtractiveSummaryAction based on python SDK changes

Based on the latest Python SDK changelog, ExtractSummaryAction has been renamed to ExtractiveSummaryAction.

@jboback
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

This PR closed as the latest docs are moving Cognitive Servies (/cognitive-services/) to part of AI Servies (/ai-services/), new PR is available at https://github.com/MicrosoftDocs/azure-docs/pull/112559.


Adding a new Beginner Chess Project

Type of change

[x] Added new project
[ ] Bug fix
[ ] New features
[ ] Enhanced documentation

Changes proposed in this pull request

Project name : Chess

Short description :  A beginner chess game made in pygame

Checklist

[x] The code is Python 3 compatible
[x] I have added relevant comments in my file to make code understandable
[x] I have added my project in a folder which includes all the necessary files

Thanks for contributing 🍕


Duplicate entries in JSON endpoints

Originally reported on https://bugs.chromium.org/p/chromedriver/issues/detail?id=4607:

Issue Description:
There is a duplicate entry of version: "119.0.6045.105", revision: "1204232" in https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json
Possibly also in other json sources.
This causes issues with our automated driver selection.
Steps to reproduce (if relevant, you MUST provide a simplified html page or
link to public site):
https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json

Interestingly, both entries were added in the same commit: https://github.com/GoogleChromeLabs/chrome-for-testing/commit/d67667b7a7c99322adfbca33d11fb0547a19bc34#diff-394e05f842cbe654062c993b4285dc17f542990c78665c989bb21f1ba9c6fea7


[Bug][TCGC]: SdkMethodBase.details could be meaningless sometimes

Describe the bug
I found that SdkMethodBase.details value of many operations seems just a splitting of operation names.
For example, https://github.com/Azure/autorest.csharp/blob/72659d42a5067035f0c2d969ed07dd523cbda4dc/test/TestProjects/Spread-TypeSpec/Spread-TypeSpec.tsp#L89
op spreadModel( ...Thing ): void;

And its details property value is Spread Model. I feel this is quite meaningless. If we don't have a valid input, just leave the property value undefined.
Reproduction
Just parse the above spec
Checklist

[X] Follow our Code of Conduct
[X] Check that this issue is about the Azure libraries for typespec. For bug in the typespec language or core libraries file it in the TypeSpec repo
[X] Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

it is an issue in emitter


Added Dataset Food price of Srilanka

Added Dataset Food price of Srilanka
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

Please merge it under hacktoberfest

Good one @iamrahul8
Congrats 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow these steps.

Star this repository. ⭐
Follow Clueless on GitHub
SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/) .
Go to the profile section from the top right-hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard!
And don’t forget to share your achievement with your friends.

@nikhil25803
Here is my profile - https://www.clueless.tech/profile/admin/107087746951592717989


Unable to choose "Path to podman program"

I installed podman via Homebrew, which installs it in /opt/homebrew/bin/podman. When I open Podman Desktop Companion, it shows /usr/local/bin/podman. I can't choose the correct path using the Select button: I choose the correct path but my selection is ignored.
https://user-images.githubusercontent.com/233589/167420113-e9b76ff7-e1ef-4859-b81f-9e49f18d7bbb.mov

Thanks, I've solved them all in the current PR, it is going to deal with it, I release tomorrow.

Feature has been added to https://github.com/iongion/podman-desktop-companion/releases/tag/4.1.0-rc.9


Profile page top margin too narrow for users with no photo

Header and alt photo get cut off by navbar. Need to add a conditional line break.

Completed in 31169ad

Completed in 31169ad


Update 'default/stable' sandbox

Is your feature request related to a problem? Please describe.
The default/stable sandbox has not been updated in some time, resulting in significant divergence between the unstable and stable images.  The divergence is starting to prevent merging of PRs to the master repo due to dependencies not being available on the default sandbox.  e.g. a lack of rioxarray and dask-ml is currently preventing merging of two PRs on the notebook-repo
Describe the solution you'd like
A new package release for the default sandbox

updated


support for termination of partitioned topic

Fixes #5905
Motivation
Pulsar supports terminate a non-partitioned-topic or a partition of a partitioned topic. If there has a partitioned topic with too many partitions, users need to get all partitions and terminate them one by one. We need to support terminate all partition of a partitioned topic.
Modifications
Added API to support terminate all partitioned topic in PersistenceTopicBase. and added test case for the same.
Verifying this change
added test case and verified.

@antimpatel There are some CI tests failed, could you please merge the master branch? since there are flaky tests are fixed in master branch.

/pulsarbot run-failure-checks


Add CannotBeNA-trait to be able to distinguish (maybe) between types

I'd admit this is a little naive.
If we are to make generic impls instead of macro-based ones, I think we need
the tools to distinguish between CanBeNA and CannotBeNA. Rust doesn't
support negative bounds, but hopefully this distinction can be useful.
For now, this is a DRAFT, and I hope the use-case appears soon.

It might make sense to add this, and we did discuss it, but no-one is approving, and I don't see how it can be used right now, so closing.


Fix | Fix issues with Login Timeout not getting applied appropriately.

Fixes #1048

Codecov Report

Merging #1049 into dev will decrease coverage by 0.02%.
The diff coverage is 87.5%.

@@             Coverage Diff              @@
##                dev    #1049      +/-   ##
============================================
- Coverage     50.65%   50.62%   -0.03%
- Complexity     3055     3058       +3
============================================
  Files           119      119
  Lines         27941    27944       +3
  Branches       4668     4668
============================================
- Hits          14153    14148       -5
- Misses        11469    11476       +7
- Partials       2319     2320       +1

Impacted Files
Coverage Δ
Complexity Δ

.../com/microsoft/sqlserver/jdbc/SQLServerDriver.java
83.26% <87.5%> (+0.1%)
37 <0> (+1)
:arrow_up:

...rc/main/java/com/microsoft/sqlserver/jdbc/DDC.java
47.3% <0%> (-0.65%)
112% <0%> (ø)

...in/java/com/microsoft/sqlserver/jdbc/IOBuffer.java
52.87% <0%> (-0.3%)
0% <0%> (ø)

...m/microsoft/sqlserver/jdbc/SQLServerResultSet.java
42.34% <0%> (+0.07%)
324% <0%> (+1%)
:arrow_up:

...c/main/java/com/microsoft/sqlserver/jdbc/Util.java
57.75% <0%> (+0.43%)
85% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

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


Landing page files moved to `gh-pages branch

Tracking Issue: #24,  #49

Landing page files moved to gh-pages branch

please rebase your branch from gh-pages. The best option would be to stash the latest changes or make a patch file then apply on the gh-pages branch.

Closing due to inactivity. Feel free to re-open again.


compile time configs should be moved to runtime

Configuration variable depending on the environment should generally be read at runtime and not at compile time.
Right now exclude and enabled configs are read at compile time, so if the client application tries to configure such behaviours at runtime, it will not work since the default will be used but nothing breaks, so it is also difficult to find out the problem.

Should be closed by this: https://github.com/primait/prima_opentelemetry_ex/pull/49


Client tests sometimes hang up in mocha's example

Hi, I just downloaded the velocity examples, tried running velocity's CLI meteor --test and sometimes it hangs up on the client tests (they never run).
I tried the latest versions of meteor (1.1) and velocity:core (0.5.1) and it hangs up at the beginning (neither server nor client tests run).
The result I get when debugging is this:
stream error Network error: ws://localhost:3000/websocket: connect ECONNREFUSED
=> A patch (Meteor <IP_ADDRESS>) for your current release is available!
Update this project now with 'meteor update --patch'.
I20150401-16:49:38.802(-4)? [velocity] adding velocity core
I20150401-16:49:38.805(-4)? [velocity] Not adding mirror-registrar because NODE_ENV is development and IS_MIRROR is false
I20150401-16:49:39.590(-4)? [node-soft-mirror] adding server code
I20150401-16:49:39.592(-4)? [velocity] Velocity not started. Queueing func
I20150401-16:49:39.593(-4)? [velocity] Server startup
I20150401-16:49:39.593(-4)? [velocity] app dir /home/developer/Development/Meteor/velocity-examples-master/leaderboard-mocha
I20150401-16:49:39.594(-4)? [velocity] config = {
I20150401-16:49:39.594(-4)?   "mocha": {
I20150401-16:49:39.594(-4)?     "regex": "^tests/mocha/.+\.(js|coffee|litcoffee|coffee\.md)$",
I20150401-16:49:39.594(-4)?     "name": "mocha",
I20150401-16:49:39.594(-4)?     "_regexp": {}
I20150401-16:49:39.594(-4)?   }
I20150401-16:49:39.595(-4)? }
I20150401-16:49:39.595(-4)? [velocity] resetting the world
I20150401-16:49:39.596(-4)? [velocity] frameworks with disable auto reset: []
I20150401-16:49:39.651(-4)? [velocity-node-mirror] Server restarted.
I20150401-16:49:39.652(-4)? [velocity-node-mirror] Aggressively restarting all mirrors
I20150401-16:49:39.653(-4)? [node-soft-mirror] Aggressively reload client
I20150401-16:49:39.714(-4)? [velocity] Mirror requested { framework: 'mocha',
I20150401-16:49:39.714(-4)?   rootUrlPath: '?mocha=true',
I20150401-16:49:39.714(-4)?   port: 5000,
I20150401-16:49:39.714(-4)?   host: 'http://localhost:5000/',
I20150401-16:49:39.714(-4)?   rootUrl: 'http://localhost:5000/?mocha=true' }
I20150401-16:49:39.715(-4)? [node-soft-mirror]: LongRunningChildProcess.constructor(taskName=mocha)
I20150401-16:49:39.715(-4)? [node-soft-mirror]: LongRunningChildProcess.readPid()
I20150401-16:49:39.716(-4)? [node-soft-mirror]: LongRunningChildProcess.readPid returns null
I20150401-16:49:39.716(-4)? [node-soft-mirror]: LongRunningChildProcess.isRunning returns false
I20150401-16:49:39.718(-4)? [node-soft-mirror]: LongRunningChildProcess.spawn() { command: '/home/developer/.meteor/packages/meteor-tool/.1.0.43.pv9wg1++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node',
I20150401-16:49:39.718(-4)?   args: [ '/home/developer/Development/Meteor/velocity-examples-master/leaderboard-mocha/.meteor/local/build/main.js' ],
I20150401-16:49:39.718(-4)?   options:
I20150401-16:49:39.718(-4)?    { detached: true,
I20150401-16:49:39.718(-4)?      cwd: '/home/developer/Development/Meteor/velocity-examples-master/leaderboard-mocha',
I20150401-16:49:39.718(-4)?      env:
I20150401-16:49:39.719(-4)?       { PORT: 5000,
I20150401-16:49:39.719(-4)?         HOST: 'http://localhost:5000/',
I20150401-16:49:39.719(-4)?         ROOT_URL_PATH: '?mocha=true',
I20150401-16:49:39.719(-4)?         ROOT_URL: 'http://localhost:5000/?mocha=true',
I20150401-16:49:39.719(-4)?         FRAMEWORK: 'mocha',
I20150401-16:49:39.719(-4)?         MONGO_URL: 'mongodb://<IP_ADDRESS>:3001/mocha',
I20150401-16:49:39.720(-4)?         PARENT_URL: 'http://localhost:3000/',
I20150401-16:49:39.720(-4)?         IS_MIRROR: true,
I20150401-16:49:39.720(-4)?         METEOR_SETTINGS: '{}',
I20150401-16:49:39.720(-4)?         LC_PAPER: 'es_BO.UTF-8',
I20150401-16:49:39.720(-4)?         LC_ADDRESS: 'es_BO.UTF-8',
I20150401-16:49:39.720(-4)?         LC_MONETARY: 'es_BO.UTF-8',
I20150401-16:49:39.720(-4)?         SHELL: '/bin/bash',
I20150401-16:49:39.720(-4)?         TERM: 'xterm',
I20150401-16:49:39.721(-4)?         LC_NUMERIC: 'es_BO.UTF-8',
I20150401-16:49:39.721(-4)?         OLDPWD: '/home/developer/.meteor/packages/meteor-tool/1.0.43/mt-os.linux.x86_64',
I20150401-16:49:39.721(-4)?         USER: 'root',
I20150401-16:49:39.721(-4)?         LC_TELEPHONE: 'es_BO.UTF-8',
I20150401-16:49:39.721(-4)?         LS_COLORS: 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arj=01;31:.taz=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lz=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.axv=01;35:.anx=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.axa=00;36:.oga=00;36:.spx=00;36:.xspf=00;36:',
I20150401-16:49:39.721(-4)?         SUDO_USER: 'developer',
I20150401-16:49:39.721(-4)?         SUDO_UID: '1720191350',
I20150401-16:49:39.722(-4)?         USERNAME: 'root',
I20150401-16:49:39.722(-4)?         VELOCITY_DEBUG_MIRROR: '1',
I20150401-16:49:39.722(-4)?         MAIL: '/var/mail/root',
I20150401-16:49:39.722(-4)?         PATH: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
I20150401-16:49:39.722(-4)?         LC_IDENTIFICATION: 'es_BO.UTF-8',
I20150401-16:49:39.722(-4)?         PWD: '/home/developer/Development/Meteor/velocity-examples-master/leaderboard-mocha',
I20150401-16:49:39.723(-4)?         LANG: 'en_US.UTF-8',
I20150401-16:49:39.723(-4)?         LC_MEASUREMENT: 'es_BO.UTF-8',
I20150401-16:49:39.723(-4)?         https_proxy: 'http://<IP_ADDRESS>:8080',
I20150401-16:49:39.723(-4)?         SHLVL: '0',
I20150401-16:49:39.723(-4)?         SUDO_COMMAND: '/usr/local/bin/meteor --test',
I20150401-16:49:39.723(-4)?         HOME: '/home/developer',
I20150401-16:49:39.724(-4)?         LANGUAGE: 'en_US:',
I20150401-16:49:39.724(-4)?         VELOCITY_DEBUG: '1',
I20150401-16:49:39.724(-4)?         LOGNAME: 'root',
I20150401-16:49:39.724(-4)?         SUDO_GID: '1720189441',
I20150401-16:49:39.724(-4)?         DISPLAY: ':0.0',
I20150401-16:49:39.725(-4)?         DEBUG: '1',
I20150401-16:49:39.725(-4)?         LC_TIME: 'es_BO.UTF-8',
I20150401-16:49:39.725(-4)?         LC_NAME: 'es_BO.UTF-8',
I20150401-16:49:39.728(-4)?         XAUTHORITY: '/home/developer/.Xauthority',
I20150401-16:49:39.728(-4)?         COLORTERM: 'mate-terminal',
I20150401-16:49:39.728(-4)?         MOBILE_DDP_URL: 'http://localhost:3000',
I20150401-16:49:39.728(-4)?         MOBILE_ROOT_URL: 'http://localhost:3000',
I20150401-16:49:39.729(-4)?         MONGO_OPLOG_URL: 'mongodb://<IP_ADDRESS>:3001/local',
I20150401-16:49:39.729(-4)?         APP_ID: 'naqs8m38qtjn1e31wah',
I20150401-16:49:39.729(-4)?         NODE_ENV: 'development',
I20150401-16:49:39.729(-4)?         HTTP_FORWARDED_COUNT: '1',
I20150401-16:49:39.729(-4)?         METEOR_SHELL_DIR: '/home/developer/Development/Meteor/velocity-examples-master/leaderboard-mocha/.meteor/local/shell',
I20150401-16:49:39.729(-4)?         METEOR_PARENT_PID: '15867',
I20150401-16:49:39.729(-4)?         METEOR_PRINT_ON_LISTEN: 'true',
I20150401-16:49:39.730(-4)?          Package.describe({
I20150401-16:49:40.033(-4)? 	name: "velocity:test-proxy",
I20150401-16:49:40.033(-4)? 	summary: "Dynamically created package to expose test files to mirrors",
I20150401-16:49:40.033(-4)? 	version: "0.0.4",
I20150401-16:49:40.033(-4)? 	debugOnly: true
I20150401-16:49:40.033(-4)? });
I20150401-16:49:40.033(-4)?
I20150401-16:49:40.034(-4)? Package.onUse(function (api) {
I20150401-16:49:40.034(-4)? 	api.use("coffeescript", ["client", "server"]);
I20150401-16:49:40.034(-4)? 	api.add_files("tests/mocha/client/clientTest.js",["client"]);
I20150401-16:49:40.034(-4)? 	api.add_files("tests/mocha/server/serverTest.js",["server"]);
I20150401-16:49:40.034(-4)?  Package.describe({
I20150401-16:49:40.043(-4)? 	name: "velocity:test-proxy",
I20150401-16:49:40.043(-4)? 	summary: "Dynamically created package to expose test files to mirrors",
I20150401-16:49:40.043(-4)? 	version: "0.0.4",
I20150401-16:49:40.043(-4)? 	debugOnly: true
I20150401-16:49:40.044(-4)? });
I20150401-16:49:40.044(-4)?
I20150401-16:49:40.044(-4)? Package.onUse(function (api) {
I20150401-16:49:40.045(-4)? 	api.use("coffeescript", ["client", "server"]);
I20150401-16:49:40.045(-4)? 	api.add_files("tests/mocha/client/clientTest.js",["client"]);
I20150401-16:49:40.054(-4)? 	api.add_files("tests/mocha/server/serverTest.js",["server"]);
I20150401-16:49:40.054(-4)?  Handshaking with mirror...
I20150401-16:49:40.925(-4)? stream error Network error: ws://localhost:5000/websocket: connect ECONNREFUSED
I20150401-16:49:40.940(-4)? stream error Network error: ws://localhost:5000/websocket: connect ECONNREFUSED
I20150401-16:49:40.957(-4)? stream error Network error: ws://localhost:5000/websocket: connect ECONNREFUSED
I20150401-16:49:46.797(-4)? [velocity] Connected to mirror, setting state to ready { framework: 'mocha',
I20150401-16:49:46.797(-4)?   port: '5000',
I20150401-16:49:46.797(-4)?   host: 'http://localhost:5000/' }
PASSED mocha : Server initialization => should insert players into the database after server start
-->(hangs in this line)<--
And I work behind a proxy, any ideas?

Thanks for reporting. Are you able to manually load http://localhost:3000 and http://localhost:5000 when your server is running w/ tests? What do you mean by work behind a proxy?

With localhost:3000 the tests finish running right away (on both the html reporter and CLI), and with localhost:5000 nothing changes (not even on the html reporter), the client tests don't run.
As for the proxy, I mean that my work environment is set with a corporate proxy, so I have to run velocity with proxy settings (otherwise it won't start at all)...for example I have to run
'sudo https_proxy=proxy:port meteor --test' instead of just 'meteor --test', just letting you know in case it matters :)

Hi!...as an update, I've tried same examples over a non-proxy environment and it's the same results...it hangs sometimes after the server tests


Can't parse timestamp with large date

What type of bug is this?
Unexpected error
What subsystems are affected?
Other
What happened?
The following sql result was not expected:
SELECT TIMESTAMP '100000-01-01 00:00:01.5'::VARCHAR;

error:
Error: 3001(EngineExecuteQuery), Parser error: Error parsing timestamp from '100000-01-01 00:00:01.5': error parsing date

What operating system did you use?
Any OS
Relevant log output and stack trace
No response
How can we reproduce the bug?
As described above.

Lots of duckdb tests contain such cases, for example
https://github.com/duckdb/duckdb/blob/master/test/sql/types/timestamp/timestamp_limits.test
If we can support it, it would be great.


No default jsDelivr CDN file set

This package doesn't have a default file set. You can set it via jsdelivr, browser, or main field in package.json

Duplicate of https://github.com/twbs/bootstrap/issues/26992


Add Chinese version of introduction

In request of #420 ,I translated the readme document into Chinese Simplified.
I'll appreciate it if it can be accepted.

Please review it timely.


Left Sidebar or Menu bar

How to do position:fixed with overflow-y:scroll in left aside bar.
I am not doing it very well.
Please help me!!!

Did you try using the fixed layout option?

No, but I have seen just now then it may be possible to use the scrollbar because it had not scrollbar.

But I don't want fixed layout for my project so how can I do that?

Unfortunately, AdminLTE does not provide that feature. Please refer to StackOverflow or similar forums for more help regarding css positioning and scrolling.
We apologize for the inconvenience.

@timusiiit123 Did you find any solutions?

@timusiiit123 Did you find any solutions?

I did that by JavaScript Code dynamically after loading the page.


Typescript typings

Hey! Great library mate. Are you interested in have typescript typings for this library? I've already started working on them since i'm using it in a couple of my react native projects using typescript. Let me know @alvaromb

Hi @iRoachie!
I use Flow, but I would love to have TS typing (AFAIK, they live in separate declaration files, right?). So I'm more than happy to merge a PR with that :)

Awesome! Will submit tonight

Flow errors:
node_modules/react-native-keyboard-aware-scroll-view/lib/KeyboardAwareListView.js:37
 37:           this.props.onScroll && this.props.onScroll(e)
                                      ^^^^^^^^^^^^^^^^^^^^^^ call of method `onScroll`. Function cannot be called on
 37:           this.props.onScroll && this.props.onScroll(e)
                                      ^^^^^^^^^^^^^^^^^^^^^^ property `onScroll` of unknown type

node_modules/react-native-keyboard-aware-scroll-view/lib/KeyboardAwareMixin.js:133
133:   handleOnScroll: function (e) {
                                 ^ parameter `e`. Missing annotation

@iegik open a new issue

@iegik yep! I would love to have a PR to solve those Flow errors.

@iRoachie It would be nice to have typescript typings, I can contribute to it as well 👍

@tibbus I already finished them. The PR just needs to be merged. #118


More tests for session and mock fixes

Description
This PR adds more tests for a Session class and fixes some MockSession issues.
Ref: #3543, #3546
Checklist:

[x] Securely signed commits
[x] Unit testing, with >80% coverage
[x] Conforms to style guide

Yes, I believe that tests for Session class are the only place where we do this.


Feature Request - Support column encryption in the generated parquet file

Hi,
First, I'd like to thank you for creating and maintaining this great tool!
I'd like to ask if you would consider adding columnar encryption as an optional feature?  It is supported by the Arrow libraries and it would be really nice to retrieve but be able to protect PII columns in the exported parquet file.
I haven't found many examples, but this one demonstrates the functionality in python/arrow with Vault as a KMS.
https://arrow.apache.org/docs/_downloads/2713f3cdaa3fc0dc691cd51bac09c6d4/sample_vault_kms_client.py
Thanks,
Chris Whelan

Hello Chris,
thank you for the nice feedback.

I'd like to ask if you would consider adding columnar encryption as an optional feature? It is supported by the Arrow libraries [...]

First time I am hearing of this 😅 . It may surprise you, but I am not using any actual arrow arrays in this implementation. Rather I pass the buffers I am using for transfer from the ODBC data source as directly as I can to the parquet writer. For this I use the Rust parquet crate. In its documentation (https://docs.rs/parquet/33.0.0/parquet/) I see a lot about compression no options for encrypting columns. So, at the moment this feels out of scope for me.
However
I do actually maintain to artifacts which use Arrow arrays and connect them to ODBC.

For Rust there is arrow-odbc: https://github.com/pacman82/arrow-odbc
For Python there is arrow-odbc-py: https://pypi.org/project/arrow-odbc/

In general if you want to do some post processing after fetching the data, you can use these to get it into arrow arrays and then save them into parquet. Do these help?
Best, Markus

Hello Markus,Thanks a lot for your quick reply and the helpful info.  I haven’t done any rust programming, but I will definitely explore the Python project!  I really appreciate your assistance on this topic.Regards,ChrisOn Feb 17, 2023, at 1:47 PM, Markus Klein @.***> wrote:
Hello Chris,
thank you for the nice feedback.
I'd like to ask if you would consider adding columnar encryption as an optional feature? It is supported by the Arrow libraries [...]
First time I am hearing of this 😅 . It may surprise you, but I am not using any actual arrow arrays in this implementation. Rather I pass the buffers I am using for transfer from the ODBC data source as directly as I can to the parquet writer. For this I use the Rust parquet crate. In its documentation (https://docs.rs/parquet/33.0.0/parquet/) I see a lot about compression no options for encrypting columns. So, at the moment this feels out of scope for me.
However
I do actually maintain to artifacts which use Arrow arrays and connect them to ODBC.
For Rust there is arrow-odbc: https://github.com/pacman82/arrow-odbc
For Python there is arrow-odbc-py: https://pypi.org/project/arrow-odbc/
In general if you want to do some post processing after fetching the data, you can use these to get it into arrow arrays and then save them into parquet. Do these help?
Best, Markus
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Hello @chrisfw ,
did arrow-odbc work for you? I'll be closing this issue, but feel free to reopen it again, if you still feel odbc2parquet is lacking a feature here. Currently though, I see little I could do.
Best, Markus

Hi Markus,
I have not had a chance to experiment with arrow-odbc, but I agree it fits the use case nicely here so I should be all set.  Thanks for your assistance.
Regards,
Chris


aws-blog-spark-parquet-conversion: java.lang.ClassCastException when tranforming JSON into parquet

Hello,
I was trying to use the same script to transform GZIP JSON data into parquet, but I encountered the following error:
java.lang.ClassCastException: cannot assign instance of scala.collection.immutable.List$SerializationProxy to field org.apache.spark.rdd.RDD.org$apache$spark$rdd$RDD$$dependencies_ of type scala.collection.Seq in instance of org.apache.spark.rdd.MapPartitionsRDD

I'm using the EMR configurations (instance types, number, version, ...) as shown in this example. I created my hive table using ROW FORMAT SERDE 'org.apache.hive.hcatalog.data.JsonSerDe'. An example of the DDL scripts to create and alter my table is:
createtable1.hql
DROP TABLE my_events;
CREATE EXTERNAL TABLE IF NOT EXISTS my_events (text string,number int)
PARTITIONED BY(year int, month int, day int, hour int)
ROW FORMAT SERDE 'org.apache.hive.hcatalog.data.JsonSerDe'
 LOCATION 's3://bucket/json/';

addpartitions1.py
ALTER TABLE my_events ADD PARTITION (year=2017, month=8, day=1, hour=0) location 's3://bucket/json/2017/08/01/00';

In order for spark to be able to read my table, I had to do the following modifications on the configuration file in my master node (adding the SERDE to my both driver and executor's classpath):

Edit /etc/spark/conf/spark-defaults.conf on EMR master node
Add /usr/lib/hive-hcatalog/share/hcatalog/* to spark.driver.extraClassPath and spark.executor.extraClassPath property

The python script is practically the same. I only added a few type casting to some columns in my dataframe, before calling the write2parquet function, like:
rdf = rdf.withColumn('columnName', rdf['columnName'].cast(DoubleType()))
Nevertheless, I tried without those type castings and still got the same error. The following is the script used without type casting:
convert2parquet1.py
from concurrent.futures import ThreadPoolExecutor, as_completed
from pyspark.sql import SparkSession

def write2parquet(start):
    df = rdf.filter((rdf.day >= start) & (rdf.day <= start + 10))
    df.repartition(*partitionby).write.partitionBy(partitionby).mode("append").parquet(output, compression=codec)

partitionby = ['year', 'month', 'day', 'hour']
output = '/user/hadoop/myevents_pq'
codec = 'snappy'
hivetablename = 'default.my_events'

spark = SparkSession.builder.appName("Convert2Parquet").enableHiveSupport().getOrCreate()
rdf = spark.table(hivetablename)

futures = []
pool = ThreadPoolExecutor(1)

for i in [1]:
    futures.append(pool.submit(write2parquet, i))
for x in as_completed(futures):
    pass

spark.stop()

Is there something I'm missing here?

Hey fabioptoi, did you ever get anywhere with this?

Hey @alexwbai ! No, actually I ended up not running ETL for my files now since it was taking too much time to resolve problems with EMR/Spark (like the one in this Issue) and ended up prioritizing other things. Is there anything you can help with this issue?

Hey fabioptoi!  No I've basically run into the same issue as you.  I've successfully converted a days worth of data to parquet from json but when i go for a whole month, the spark job stalls on stage two.  I had opened a case with AWS and they are pointing me to the error you had described above (which I had been ignoring until this point since I had success before).  Still trying to figure it out...  If I find anything I'll update here..

Hey @fabioptoi ok I've gotten this to work.  It's been a journey of pain (but a great learning experience!).  My goal here was to convert a month's worth of GZIP JSON data to SNAPPY PARQUET (similar to you I think).  I had about 190GB of JSON data broken up into about 400k small files partitioned by day.
I'll break this up in the errors I ran into and then how I got around them:

Errors about the JsonSerDe not being found when running in a cluster.  Alternative to your solution above, I ran my spark-submit referencing the JAR they were looking for:  --jars /usr/lib/hive-hcatalog/share/hcatalog/hive-hcatalog-core-2.3.2-amzn-1.jar .  Both solutions worked for me.

For some reason which I still haven't figured out, Spark was looking for a "ArrayList" column although I never declared that anywhere.  It was throwing a ClassCastException error similar to the one you describe above but still completing the parquet transformation on a test of a day's worth of data successfully.  I had opened a ticket with AWS and they confirmed to me to ignore that as it wasn't affecting my job.  I ran a line count on the parquet vs and json and it matched up.

Job started running finally but then crashes midway through with a Java Heap Out of Memory Error.  Did some digging and found out the driver was running out of memory.  I added this flag to my spark-submit which fixed that error:  --driver-memory 8G

Errors like running out of "overhead memory" or 'lost node' errors on the second stage of my job:  For me this stuff all came down to needing to configure my spark job correctly and I went through a long trial and error phase.  I believe unless you are doing the exact same job as this github project outlines, you'll need to fine tune your job from their default 85 executors, 5 gigs of ram settings.  I found this BRILLIANT site that has a great excel cheat sheet to help you create a job that maximizes parallelization in your job.  If I found this earlier on I'm quite confident I would have saved 10 hours of my life:

http://c2fo.io/c2fo/spark/aws/emr/2016/07/06/apache-spark-config-cheatsheet/
Below are the final settings I used on my job.  I used 3 x r3.8xlarge instances with an m4-2xlarge master (overkill..?) and put the job process in the background incase my session got disconnected:
Deployment config parameters in the EMR console:
classification=yarn-site,properties=[yarn.nodemanager.vmem-check-enabled=false]
Spark-submit settings:
spark-submit \   --jars /usr/lib/hive-hcatalog/share/hcatalog/hive-hcatalog-core-2.3.2-amzn-1.jar \   --master yarn \   --deploy-mode cluster \   --num-executors 120 \   --executor-memory 5G \   --conf spark.yarn.driver.memoryOverhead=4096 \   --driver-memory 27G \   --executor-cores 1 \   --driver-cores 5 \   --conf spark.default.parallelism=240 \   mypythonscript.py &
This completed on my data in about 1.3 hours and I've since used s3-dist-cp to put it back in S3 and have loaded it into Redshift Spectrum and Athena successfully.
Good luck!
AlexW


feat(topics): make topic queue length configurable

This is a tuning param to make the topic queue length configurable.  This is useful if very large amounts of alerts must go off due to scheduled maintenance etc such as a windows update.

@docmerlin -- docs will need the name of the config parameter, along with its default value....and where it appears in the config file.  Essentially, the config documentation needs to be updated to describe how customers can set this.


Find-UnitySetupInstaller reports an error searching for 2019.1.0b9

PS> Find-UnitySetupInstaller -Version 2019.1.0b9 2>&1 > error.txt
Could not find archives for Unity version 2019.1.0b9
At C:\Users\jowitt\Documents\WindowsPowerShell\Modules\unitysetup\5.1.111\UnitySetup.psm1:397 char:13
+             throw "Could not find archives for Unity version $Version ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Could not find ...sion 2019.1.0b9:String) [], RuntimeException
    + FullyQualifiedErrorId : Could not find archives for Unity version 2019.1.0b9

error.txt

I noticed this as well. I think it's because the url for the component installers is different for betas. E.g.:
https://beta.unity3d.com/download/f1481f10a935/Windows64EditorInstaller/UnitySetup64.exe
compared to
https://download.unity3d.com/download_unity/5063218e4ab8/Windows64EditorInstaller/UnitySetup64.exe

I wonder if that was a recent change


Cannot create orders for one time payments.

Hi there,
I have newly started integrating cashiermollie in Laravel. As a newbie, i was a bit confused. But Laravel CashierStripe does a lot of help in understanding how things work.
The problem is aroused when integrating the onetime payment, as the payment from the mollie is successful. But cashierollie is just creating an entry inside the payments table. But the documentation says that when you run the php artisan cashier:run command it will create an order. But it is not creating.
I just want to make sure that if this is a bug or single-time payments just need to be manually marked as paid from the webhook.
Thanks in advance and stay blessed.

Hi @Furqan311 ,
An Order is created once the payment gets paid.
If you need more assistance, can you provide a code sample to reproduce the issue, and describe the behavior you're seeing in Mollie's dashboard?

Thank you for replying,
The code is:
$billableModel = $offer->getDeal->type ? $offer->getDeal->getCompany : $offer->getDeal->getCustomer;
        $item = new ChargeItemBuilder($billableModel);
        $item->unitPrice(money(1000, 'EUR')); //1 EUR
        $item->description('Test Item 1');
        $chargeItem = $item->make();

        $result = $billableModel->newCharge()
        ->addItem($chargeItem)
        ->create();

And inside the mollie dashboard, i am getting paid payments. But cashier is not doing anything when I run cashier:run, it says 0 Orders created.

The screenshot i attached is from mollie dashboard.

Hi @Furqan311 ,
Thanks for following up.
Once the payment  at Mollie reaches status paid, Mollie calls your Cashier webhook url. Cashier then processes the Charge into an Order.
The Mollie dashboard currently shows on the right side of the screen that Mollie cannot reach your webhook (status 404).

Yes you are right, the reason is i am working on localhost. But then i simulates a manual request via curl To check if the webhook being called. But nothing works.
I am using controller from Cashier's WebhookController, but same issue.

When testing, are you pointing your browser to the ngrok generated url?
Did you update APP_URL in your env file to the gnrok generated url?

Can you check your Laravel logs?

Closing this for now, let me know if it should be reopened.


libjetson-inference.so: undefined reference to `cublasDestroy_v2'

hi, @dusty-nv  ，can u give me some suggestion?

@kk52099 what version of JetPack-L4T is running on your Jetson?

@kk52099 what version of JetPack-L4T is running on your Jetson?

@dusty-nv L4t-pytorch,  i  only run the "cmke  ../    &&make" in my docker images , SO When the project will be builded,  I will   copy the bin file to  my NX board  and run it

How did you start the container?  Was it using one of my docker/run.sh scripts, or if not was the container started with --runtime nvidia?
If this is from when you are building a Dockerfile, set your default docker runtime to nvidia, like shown here:  https://github.com/dusty-nv/jetson-containers#docker-default-runtime

@dusty-nv  you are right ,  the container was not started with --runtime nvidia,   because i run the container on x86 amd

Ah, right.  Change the base container to one of the nvcr.io/nvidia/pytorch containers from https://catalog.ngc.nvidia.com/orgs/nvidia/containers/pytorch (these are for x86)
l4t-pytorch is for Jetson only.
Then run it like shown on that NGC page (i.e. with --gpus all)
You have to have the NVIDIA driver and NVIDIA container runtime installed on your x86 machine.

@dusty-nv  it have not GPU,only CPU,    then  i start the contain by the command "sudo docker run -it --net host nvcr.io/nvidia/l4t-pytorch:r32.4.3-pth1.6-py3",  it is  OK to  build  the tensorrt sample(sampleSSD) ,  but i can not  success to build your project

If it doesn't have GPU, it's not going to run jetson-inference anyways (which uses GPU and CUDA).  You may have other build errors with jetson-inference as well because I build it on Jetson and not x86.

@dusty-nv Ok, thinks very much , then  i  run the command "docker/build.sh",  the info happen
, why?


Need to glob for remaining mp4 files

At least in moment.py
The desktop may have other hidden files

Done in 4aaa475


Goto Cache Improvements

Problems
The Goto Cache had a few little problems

It followed all reparse points, which could drive it into a reparse - loop.
Items were enumerated many times when they were behind reparse points
The punctuation was limited to <blank> See #296
The punctuation could not be configured

Changes

The punctuation is now extended to "- _."
The punctuation can be configured via Winfile.ini[Settings]GotoCachePunctuation
The Goto Cache now only follows
**so called 'outer' reparse points, but drops so called 'inner' reparse points, because they files there are anyhow reached via normal file enumeration.
** Onedrive. This PR also works for OneDrive and opposite to #132 has no limitations.

General
What is a 'inner'/ 'outer' reparse point:

With respect to a root, e.g. c:\foo a reparse point is called 'inner' if it points to a location below the root, e.g. c:\foo\bla\reparse -> c:\foo\bla\reparse_dest
With respect to a root, e.g. c:\foo a reparse point is called 'outer' if it points to a location outside the root, e.g. c:\foo\bla\reparse -> c:\bla\dest

Rebased onto master

Used GetModuleFileHandle()

Nice work; just a small number of changes to be ready to go.

Code review in-cooperated

Fixed copy/paste error


scripts/install_oxide: set installation paths

Updates build commands for Yosys, Yosys plugins and Nextpnr to inform
the builds of the final installation directory, under
third_party/usr/local.
In particular,

for Yosys, replaces use of "DESTDIR=foo", with "PREFIX=foo".
for Nextpnr, set CMAKE_INSTALL_PREFIX to specify from where the built
binaries will run.

Signed-off-by: Alan Green<EMAIL_ADDRESS>

#539


Docs: Add fud registration instructions for Interpreter

Closes #2050.
In the page about the interpreter, the docs were not showing people how to register the interpreter as a fud stage. In the page about the debugger, the docs were not telling people to build and register the interpreter first. This PR fixes both of these and makes a couple quick clarity changes.
The PR also guides users about the interpreter not supporting the invoke command, and explains how to make progress by running the compile-invoke pass. This is needed in both pages.

Looks fine but the thing about invoke isn't true. Cider 1 supports invoke it just doesn't support ref cells, so if your program uses those then you need to run compile-invoke first but otherwise are good

Thanks for the catch, I have fixed those and will enable auto-merge


Broken test script.

If I try to run pytest over the whole repo with pytest -vv ., it fails during test discovery at braingeneers/iot/shadows_test.py:32.
It's one of those <<<< HEAD markers Git uses to indicate merge conflicts. @pvbaudin it looks like you created this. Can you choose the correct resolution for the conflict?

Looks like this is fixed by 244c244, thanks Pierre!

Yeah sorry about that one, the file in question doesn't even contain unit tests, it was more of an active test "playground" script. Didn't realize the naming convention messed with stuff.


Release Google.Cloud.Trace.V2 version 3.6.0

Changes in this release:
New features

Add IServiceCollection extension methods for client registration where an IServiceProvider is required. (commit 022fab2)

Created release for Google.Cloud.Trace.V2-3.6.0


Papyrus validation

@ysroh : Is this request right? Surely you want to merge this to 'papyrus' and not 'master'?